We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
unhandledRejection
1 parent 27b113d commit 35096b7Copy full SHA for 35096b7
doc/api/process.md
@@ -580,6 +580,10 @@ address such failures, a non-operational
580
`resource.loaded`, which would prevent the `'unhandledRejection'` event from
581
being emitted.
582
583
+If an `'unhandledRejection'` event is emitted but not handled it will
584
+be raised as an uncaught exception. This alongside other behaviors of
585
+`'unhandledRejection'` events can changed via the [`--unhandled-rejections`][] flag.
586
+
587
### Event: `'warning'`
588
589
<!-- YAML
0 commit comments