Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

quieter provider errors with better origin information #207

Merged
merged 1 commit into from
Sep 20, 2024

Conversation

sqs
Copy link
Member

@sqs sqs commented Sep 20, 2024

  • OpenCtx no longer uses vscode.window.showErrorMessage, which is annoying and louder than most provider errors deserve.
  • The output channel includes information about which provider the error came from, to make debugging easier.

- OpenCtx no longer uses vscode.window.showErrorMessage, which is annoying and louder than most provider errors deserve.
- The output channel includes information about which provider the error came from, to make debugging easier.
@sqs sqs enabled auto-merge (squash) September 20, 2024 06:04
@sqs sqs merged commit 4ce26c1 into main Sep 20, 2024
11 of 12 checks passed
@sqs sqs deleted the sqs/error-reporting branch September 20, 2024 06:05
sqs added a commit to sourcegraph/cody that referenced this pull request Sep 20, 2024
sqs added a commit to sourcegraph/cody that referenced this pull request Sep 20, 2024
sqs added a commit to sourcegraph/cody that referenced this pull request Sep 20, 2024
Incorporates sourcegraph/openctx#207 and
sourcegraph/openctx#206.

Fixes
https://linear.app/sourcegraph/issue/CODY-3799/quieter-openctx-provider-ui-notifs-in-vs-code-and-better-error-logging.

## Test plan

Open VS Code with an OpenCtx provider that throws an error. Ensure that
no VS Code error notification is shown in the UI, and that it's logged
to the `OpenCtx` output channel with the provider URI mentioned.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant