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

Definition: Do not fail the request when there's an error #34

Merged
merged 1 commit into from
Feb 28, 2022

Conversation

julienduchesne
Copy link
Member

Instead, just log the error. If we fail the request completely, the client (in my case vscode) goes crazy and may even kill the language server
However, it's a pretty normal scenario that the AST is not valid (when modifying jsonnet, for example)

Instead, just log the error. If we fail the request completely, the client (in my case vscode) goes crazy and may even kill the language server
However, it's a pretty normal scenario that the AST is not valid
Copy link
Contributor

@zzehring zzehring left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense. :shipit:

@julienduchesne julienduchesne merged commit 475aaf1 into main Feb 28, 2022
@julienduchesne julienduchesne deleted the julienduchesne/dont-error-out branch February 28, 2022 01:16
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.

None yet

2 participants