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

[BUG] Server panic protection #15

Open
SpontanCombust opened this issue Mar 14, 2024 · 0 comments
Open

[BUG] Server panic protection #15

SpontanCombust opened this issue Mar 14, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@SpontanCombust
Copy link
Owner

SpontanCombust commented Mar 14, 2024

The Language Server abstraction provided by tower_lsp does not offer sufficient protection against possible panics in the server code.
If it catches a panic it restarts the entire server.

Do something to protect the server against panics and allow it to still work even after a particular request critically fails.

@SpontanCombust SpontanCombust added the bug Something isn't working label Mar 14, 2024
@SpontanCombust SpontanCombust changed the title Server panic protection [BUG] Server panic protection Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

No branches or pull requests

1 participant