There was an error while loading. Please reload this page.
unhandledRejection
1 parent 7326dda commit f3b885bCopy full SHA for f3b885b
doc/api/process.md
@@ -578,6 +578,10 @@ address such failures, a non-operational
578
`resource.loaded`, which would prevent the `'unhandledRejection'` event from
579
being emitted.
580
581
+If an `'unhandledRejection'` event is emitted but not handled it will
582
+be raised as an uncaught exception. This alongside other behaviors of
583
+`'unhandledRejection'` events can changed via the [`--unhandled-rejections`][] flag.
584
+
585
### Event: `'warning'`
586
587
<!-- YAML
0 commit comments