@gasbuddy/express-promise-patch

1.0.4 • Public • Published

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.

/@gasbuddy/express-promise-patch/

    Package Sidebar

    Install

    npm i @gasbuddy/express-promise-patch

    Weekly Downloads

    55

    Version

    1.0.4

    License

    MIT

    Unpacked Size

    2.37 kB

    Total Files

    4

    Last publish

    Collaborators

    • msimeon
    • aureliamoore
    • djmax