Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix errors when recovering from interp-error #801

Merged
merged 2 commits into from
Jun 27, 2024
Merged

Conversation

rtetley
Copy link
Collaborator

@rtetley rtetley commented Jun 26, 2024

Just add an error guard, this prevents the full server from crashing but since I only send the original state could lead to some undesired effects.
See here.

Closes #634

Just add an error guard, this prevents the full server from crashing but since I only send the original state
could lead to some undesired effects.
@rtetley rtetley requested a review from gares June 26, 2024 14:14
@rtetley
Copy link
Collaborator Author

rtetley commented Jun 26, 2024

Sometimes there were uncaught exceptions in the interp_error_recovery function. If that happens I don't really know what to do about the state. Is this satisfying @gares ?

@rtetley rtetley merged commit be91639 into main Jun 27, 2024
23 checks passed
@rtetley rtetley deleted the fix-interp-recovery-crash branch June 28, 2024 13:26
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[vscoq2] language server hangs up with some specific erroneous inputs
2 participants