Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f3b885b

Browse filesBrowse files
dario-piotrowiczaduh95
authored andcommitted
doc: clarify unhandledRejection events behaviors in process doc
PR-URL: #57654 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 7326dda commit f3b885b
Copy full SHA for f3b885b

File tree

Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed

‎doc/api/process.md

Copy file name to clipboardExpand all lines: doc/api/process.md
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -578,6 +578,10 @@ address such failures, a non-operational
578578
`resource.loaded`, which would prevent the `'unhandledRejection'` event from
579579
being emitted.
580580

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+
581585
### Event: `'warning'`
582586

583587
<!-- YAML

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.