@gasbuddy/express-promise-patch
v1.0.4
Published
A monkey patch to express 4 to better handle promises in handlers (i.e. async methods)
Downloads
458
Readme
express-promise-patch
A simple patch to express 4.x to better deal with async handler methods. Without this patch, exceptions in these methods will usually end up as uncaughtRejections disassociated from the request that caused them. This patch normalizes them back to calls to next() with the error.