uber-archive / multitransport-jsonrpc

JSON-RPC Client (Node.js & Browser) and Server (Node.js) aim at "natural looking" server and client code.
116 stars 22 forks source link

Don't mask server failures #23

Closed dfellis closed 11 years ago

dfellis commented 11 years ago

Altering the server so it re-throws thrown errors from async methods so the server is aware of them and can clean up if necessary. Also refactored the code a bit to remove a large-ish branch and provide the client with the server's stack trace (may make that configurable in the future, but its great for debugging).

cc @squamos