Skip to content

Commit

Permalink
Context: make error message more concise (#6065)
Browse files Browse the repository at this point in the history
Tiny change to streamline the context error message.

Relates to SPLF-667
  • Loading branch information
jtibshirani authored Nov 5, 2024
1 parent 29fb98d commit 4cf1e25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vscode/src/chat/chat-view/ChatController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4cf1e25

Please sign in to comment.