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 targos committed Dec 21, 2020
1 parent e233094 commit 62bfe3d
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 62bfe3d

Please sign in to comment.