SpontanCombust / witcherscript-ide

Language Server implementation for WitcherScript - Witcher 3's scripting language.
https://spontancombust.github.io/witcherscript-ide/
Apache License 2.0
10 stars 0 forks source link

[BUG] Server panic protection #15

Open SpontanCombust opened 3 months ago

SpontanCombust commented 3 months ago

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.