mirror of
https://github.com/nodejs/node.git
synced 2024-11-25 08:19:38 +01:00
59d3d542d6
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>
18 lines
671 B
Plaintext
18 lines
671 B
Plaintext
reachable
|
|
*typescript-throw.ts:18
|
|
throw Error('an exception');
|
|
^
|
|
Error: an exception
|
|
at *typescript-throw.ts:18:11*
|
|
at *typescript-throw.ts:24:1*
|
|
at Module._compile (node:internal/modules/cjs/loader:*)
|
|
at Object.Module._extensions..js (node:internal/modules/cjs/loader:*)
|
|
at Module.load (node:internal/modules/cjs/loader:*)
|
|
at Function.Module._load (node:internal/modules/cjs/loader:*)
|
|
at Module.require (node:internal/modules/cjs/loader:*)
|
|
at require (node:internal/modules/cjs/helpers:*)
|
|
at Object.<anonymous> (*source_map_throw_first_tick.js:5:1)
|
|
at Module._compile (node:internal/modules/cjs/loader:*)
|
|
|
|
Node.js *
|