Skip to content

Commit

Permalink
doc: note v15.0.0 changed default --unhandled-rejections=throw
Browse files Browse the repository at this point in the history
PR-URL: #36361
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Mary Marchini <oss@mmarchini.me>
Reviewed-By: Rich Trott <rtrott@gmail.com>
  • Loading branch information
kaizhu256 authored and Trott committed Dec 12, 2020
1 parent 743ee9d commit d50b2ff
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -1059,8 +1059,13 @@ Track heap object allocations for heap snapshots.
### `--unhandled-rejections=mode`
<!-- YAML
added:
- v12.0.0
- v10.17.0
- v12.0.0
- v10.17.0
changes:
- version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/33021
description: Changed default mode to `throw`. Previously, a warning was
emitted.
-->

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

0 comments on commit d50b2ff

Please sign in to comment.