riju
riju copied to clipboard
Handle uncaught exceptions from vscode-languageserver-node
Currently, if a malformed message is received from any language server then Riju crashes, due to an upstream bug https://github.com/microsoft/vscode-languageserver-node/issues/270. There is a workaround proposed in https://github.com/microsoft/vscode-languageserver-node/issues/270#issuecomment-678961875, which we should implement.
Upstream says the bug is now fixed, I suppose we should upgrade and use the new onError
event handler.