uncaughtExceptionMonitor

A Node.js process event emitted just before an uncaught exception is handled, letting you record it without stopping the crash.

In more detail

It is the right hook for crash reporting. Log synchronously there, because the process may exit immediately afterwards.

Related terms

Taught in

References