riju icon indicating copy to clipboard operation
riju copied to clipboard

Handle uncaught exceptions from vscode-languageserver-node

Open raxod502 opened this issue 3 years ago • 1 comments

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.

raxod502 avatar Jun 15 '21 05:06 raxod502

Upstream says the bug is now fixed, I suppose we should upgrade and use the new onError event handler.

raxod502 avatar Jun 15 '21 05:06 raxod502