Skip to content
This repository was archived by the owner on Aug 8, 2019. It is now read-only.

Do not stop the extension upon an error#9

Merged
chrismwendt merged 1 commit intomasterfrom
do-not-unsubscribe
Nov 13, 2018
Merged

Do not stop the extension upon an error#9
chrismwendt merged 1 commit intomasterfrom
do-not-unsubscribe

Conversation

@chrismwendt
Copy link
Contributor

#8 both suppressed errors and caused the extension to stop serving code intelligence upon the first error.

This PR makes the extension keep serving code intelligence even when errors occur, and will fix the customer-reported issue https://github.com/sourcegraph/sourcegraph/issues/838

Consequently, on private code, an error will get logged to to the console whenever a hover occurs. This is an acceptable tradeoff until a better solution arises (e.g. checking if the current repo is private and the Sourcegraph URL is set to Sourcegraph.com, or otherwise checking if code intelligence is expected to work at all).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant