HathorNetwork/hathor-wallet-headless

Error handlers are not being used

Closed this issue · 0 comments

r4mmer commented

If an error is thrown we should pass the call on the chain of error handlers, but instead the error is making the server stop.
Even the default error handler (which would return 500 to the user) is not being used.

To simulate this I made a local build with a throw new Error() in a new route.