A monkey patch to express 4 to better handle promises in handlers (i.e. async methods)
npm install @gasbuddy/express-promise-patchexpress-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.