Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(server): Exit clean on unhandledRejections. (#3092)
Add a handler for unhandledRejections, log error and disconnect all, then exit. Also remove broken, untested rejection handler in middleware. Prior to #3064, this block was probably unreachable; the arguments to serveStaticFile are incorrect.
- Loading branch information