From 4cf1e25826f0c8f7901252a8537c86e67cfe5a11 Mon Sep 17 00:00:00 2001 From: Julie Tibshirani Date: Tue, 5 Nov 2024 07:44:33 -0800 Subject: [PATCH] Context: make error message more concise (#6065) Tiny change to streamline the context error message. Relates to SPLF-667 --- 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 c22ac34936bc..d4d88dd25a84 100644 --- a/vscode/src/chat/chat-view/ChatController.ts +++ b/vscode/src/chat/chat-view/ChatController.ts @@ -1050,7 +1050,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,