@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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.4
    247
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.4
    247
  • 1.0.3
    2
  • 1.0.1
    2
  • 1.0.0
    2

Package Sidebar

Install

npm i @gasbuddy/express-promise-patch

Weekly Downloads

116

Version

1.0.4

License

MIT

Unpacked Size

2.37 kB

Total Files

4

Last publish

Collaborators

  • msimeon
  • aureliamoore
  • djmax