node-mole-rpc
node-mole-rpc copied to clipboard
Passing in invalid JSON kills the process
If you submit invalid JSON, the parser blows up exits the process.
There doesn't appear to be any exception handling of JSON.stringify or JSON.parse calls on the client. The server at least catches exceptions on JSON.parse, but it should return a proper JSON-RPC error, instead it silently ignores the message.