Skip to content

Commit 62bfe3d

Browse files
kaizhu256targos
authored andcommitted
doc: note v15.0.0 changed default --unhandled-rejections=throw
PR-URL: #36361 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Mary Marchini <[email protected]> Reviewed-By: Rich Trott <[email protected]>
1 parent e233094 commit 62bfe3d

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

doc/api/cli.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -1059,8 +1059,13 @@ Track heap object allocations for heap snapshots.
10591059
### `--unhandled-rejections=mode`
10601060
<!-- YAML
10611061
added:
1062-
- v12.0.0
1063-
- v10.17.0
1062+
- v12.0.0
1063+
- v10.17.0
1064+
changes:
1065+
- version: v15.0.0
1066+
pr-url: https://github.com/nodejs/node/pull/33021
1067+
description: Changed default mode to `throw`. Previously, a warning was
1068+
emitted.
10641069
-->
10651070

10661071
Using this flag allows to change what should happen when an unhandled rejection

0 commit comments

Comments
 (0)