mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
Reformat stack traces when --enable-source-maps flag is set to format more likely to fit https://github.com/tc39/proposal-error-stacks PR-URL: https://github.com/nodejs/node/pull/37252 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Ian Sutherland <ian@iansutherland.ca> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Zeyu Yang <himself65@outlook.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
16 lines
661 B
Plaintext
16 lines
661 B
Plaintext
*enclosing-call-site.js:16
|
|
throw new Error('an error!')
|
|
^
|
|
|
|
Error: an error!
|
|
at functionD (*enclosing-call-site.js:16:17)
|
|
at functionC (*enclosing-call-site.js:10:3)
|
|
at functionB (*enclosing-call-site.js:6:3)
|
|
at functionA (*enclosing-call-site.js:2:3)
|
|
at Object.<anonymous> (*enclosing-call-site.js:24:3)
|
|
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:*)
|