...

/

Detecting Unhandled Rejections with Node.js

Detecting Unhandled Rejections with Node.js

Learn how Node.js detects and reports unhandled rejections.

Tracking unhandled rejections in Node.js

Node.js tracks unhandled promise rejections in a similar, but not identical, way that browsers do. There are two events in Node.js, but these are emitted on the process object and have different capitalizations than the browser events:

  • unhandledRejection: This is emitted when a
...