Skip to content

Commit d940b15

Browse files
dario-piotrowiczmarco-ippolito
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 cdf3fa2 commit d940b15

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/api/process.md

Lines 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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy