src: document --abort-on-uncaught-exception · nodejs/node@b799498 · GitHub
Skip to content

Commit b799498

Browse files
sam-githubaddaleax
authored andcommitted
src: document --abort-on-uncaught-exception
Its important for post-mortem diagnostics and should be more prominently documented. PR-URL: #13931 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Julien Gilli <jgilli@nodejs.org> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
1 parent 2a86650 commit b799498

3 files changed

Lines changed: 15 additions & 0 deletions

File tree

doc/api/cli.md

Lines changed: 8 additions & 0 deletions

doc/node.1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,10 @@ Silence all process warnings (including deprecations).
135135
Enable loading native modules compiled with the ABI-stable Node.js API (N-API)
136136
(experimental).
137137

138+
.TP
139+
.BR \-\-abort\-on\-uncaught\-exception
140+
Aborting instead of exiting causes a core file to be generated for analysis.
141+
138142
.TP
139143
.BR \-\-trace\-warnings
140144
Print stack traces for process warnings (including deprecations).

src/node.cc

Lines changed: 3 additions & 0 deletions

0 commit comments

Comments
 (0)