Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid server crash when handler returns LspResult.Error (#33)
It appears that #29 broke the reporting of LspResult.Error to StreamJsonRpc. StreamJsonRpc processes LocalRpcException to report exceptions/errors from request handlers. In particular we have code in `requestHandling` that actually throws LocalRcpException when handler returns LspResult.Error. This commit adds code to skip markingLocalRcpException as a fatal exception and make it not crash the server.
- Loading branch information