mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
This change allows for easier recognition of builtin modules in stack traces. Refs: https://github.com/nodejs/node/issues/11893 PR-URL: https://github.com/nodejs/node/pull/35498 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Zeyu Yang <himself65@outlook.com>
32 lines
1.2 KiB
Plaintext
32 lines
1.2 KiB
Plaintext
beginning
|
|
test.vm:1
|
|
throw new Error("boo!")
|
|
^
|
|
|
|
Error: boo!
|
|
at test.vm:1:7
|
|
at Script.runInThisContext (node:vm:*)
|
|
at Object.runInThisContext (node:vm:*)
|
|
at Object.<anonymous> (*test*message*vm_display_runtime_error.js:*)
|
|
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 Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:*)
|
|
at node:internal/main/run_main_module:*:*
|
|
test.vm:1
|
|
throw new Error("spooky!")
|
|
^
|
|
|
|
Error: spooky!
|
|
at test.vm:1:7
|
|
at Script.runInThisContext (node:vm:*)
|
|
at Object.runInThisContext (node:vm:*)
|
|
at Object.<anonymous> (*test*message*vm_display_runtime_error.js:*)
|
|
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 Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:*)
|
|
at node:internal/main/run_main_module:*:*
|