mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
31217a8e88
Add a flag that makes Node.js print the stack trace at the time of *throwing* uncaught exceptions, rather than at the creation of the `Error` object, if there is any. This is disabled by default because it affects GC behavior. PR-URL: https://github.com/nodejs/node/pull/30025 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
7 lines
138 B
Plaintext
7 lines
138 B
Plaintext
|
|
*test*message*throw_undefined.js:*
|
|
throw undefined;
|
|
^
|
|
undefined
|
|
(Use `node --trace-uncaught ...` to show where the exception was thrown)
|