Skip to content

Commit bf6c87b

Browse files
authored
chat - add logging when failing to get a response (for #279551) (#279984)
1 parent 7a66228 commit bf6c87b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupProviders.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,8 @@ export class SetupAgent extends Disposable implements IChatAgentImplementation {
232232
try {
233233
await this.doForwardRequestToChat(requestModel, progress, chatService, languageModelsService, chatAgentService, chatWidgetService, languageModelToolsService);
234234
} catch (error) {
235+
this.logService.error('[chat setup] Failed to forward request to chat', error);
236+
235237
progress({
236238
kind: 'warning',
237239
content: new MarkdownString(localize('copilotUnavailableWarning', "Failed to get a response. Please try again."))

0 commit comments

Comments
 (0)