KristerV / heliumpay-budgetweb-backend

2 stars 2 forks source link

Handle unexpected errors #8

Closed jschr closed 7 years ago

jschr commented 7 years ago

Convert unexpected errors to an InternalServerError.

This fixes an invalid status code: 'undefined' error from express (which also swallowed the original error message).

KristerV commented 7 years ago

looks good.