...

/

Summary: Tracking Down the Unhandled Rejections

Summary: Tracking Down the Unhandled Rejections

Get a brief summary of how web browsers and Node.js track and report unhandled rejections.

Overview

All JavaScript runtimes track unhandled promise rejections in some way. Web browsers and Deno implement the algorithm specified in the HTML specification, while Node.js implements its own solution. Both solutions rely on two events: one that is emitted when an untracked promise rejection occurs and one that is emitted if a previously ...