mirror of
https://github.com/nodejs/node.git
synced 2026-11-30 11:55:44 -05:00
When --enable-source-maps is set, the error context displayed above the stack trace now shows original source rather than transpiled. Backport-PR-URL: https://github.com/nodejs/node/pull/37700 PR-URL: https://github.com/nodejs/node/pull/33491 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
18 lines
744 B
Plaintext
18 lines
744 B
Plaintext
reachable
|
|
*typescript-throw.ts:18
|
|
throw Error('an exception');
|
|
^
|
|
Error: an exception
|
|
at branch (*typescript-throw.js:20:15)
|
|
-> *typescript-throw.ts:18:11
|
|
at Object.<anonymous> (*typescript-throw.js:26:1)
|
|
-> *typescript-throw.ts:24:1
|
|
at Module._compile (internal/modules/cjs/loader.js:*)
|
|
at Object.Module._extensions..js (internal/modules/cjs/loader.js:*)
|
|
at Module.load (internal/modules/cjs/loader.js:*)
|
|
at Function.Module._load (internal/modules/cjs/loader.js:*)
|
|
at Module.require (internal/modules/cjs/loader.js:*)
|
|
at require (internal/modules/cjs/helpers.js:*)
|
|
at Object.<anonymous> (*source_map_throw_catch.js:6:3)
|
|
at Module._compile (internal/modules/cjs/loader.js:*)
|