diff options
author | Divlo <contact@divlo.fr> | 2021-09-02 02:59:45 +0300 |
---|---|---|
committer | Michael Dawson <mdawson@devrus.com> | 2021-09-08 20:31:07 +0300 |
commit | 59d3d542d69f078cd1d9f50f26b83944c381724e (patch) | |
tree | 418aefbd529e5f7261626a3bc1d480d161c35756 /doc/api | |
parent | 33b5107d13f3b5b01861ac7deb4253cfc3d84fc5 (diff) |
errors: disp ver on fatal except that causes exit
Display Node.js version at the end of stacktraces
on fatal exception that causes exit.
Easier for debugging so you don't have
to ask "what node version are you on?",
it is directly in the error the user
copy/paste from when asking for help.
Fixes: https://github.com/nodejs/node/issues/29731
PR-URL: https://github.com/nodejs/node/pull/38332
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/cli.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/api/cli.md b/doc/api/cli.md index 48bfd090f65..f87b2476e0f 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -605,6 +605,13 @@ added: v0.8.0 Silence deprecation warnings. +### `--no-extra-info-on-fatal-exception` +<!-- YAML +added: REPLACEME +--> + +Hide extra information on fatal exception that causes exit. + ### `--no-force-async-hooks-checks` <!-- YAML added: v9.0.0 @@ -1423,6 +1430,7 @@ Node.js options that are allowed are: * `--napi-modules` * `--no-deprecation` * `--no-experimental-repl-await` +* `--no-extra-info-on-fatal-exception` * `--no-force-async-hooks-checks` * `--no-warnings` * `--node-memory-debug` |