From 2241c018bfeeebceeb5f5ca1ae3067309adcbbfc Mon Sep 17 00:00:00 2001 From: Julie Tibshirani Date: Mon, 4 Nov 2024 15:50:35 -0800 Subject: [PATCH] Context: make error message more concise --- vscode/src/chat/chat-view/ChatController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vscode/src/chat/chat-view/ChatController.ts b/vscode/src/chat/chat-view/ChatController.ts index 6457af4af9c7..f92c06c21346 100644 --- a/vscode/src/chat/chat-view/ChatController.ts +++ b/vscode/src/chat/chat-view/ChatController.ts @@ -1048,7 +1048,7 @@ export class ChatController implements vscode.Disposable, vscode.WebviewViewProv const [priorityContext, retrievedContext, openCtxContext] = await Promise.all([ priorityContextPromise, retrievedContextPromise.catch(e => { - this.postError(new Error(`Error retrieving context, no search context was used: ${e}`)) + this.postError(new Error(`Failed to retrieve search context: ${e}`)) return [] }), openCtxContextPromise,