mirror of
https://github.com/nodejs/node.git
synced 2025-05-09 18:02:21 +00:00

This option has been broken for almost a year when used with any of the vm.runIn.. family of functions, except for syntax errors. PR-URL: https://github.com/nodejs/node/pull/13074 Reviewed-By: Anna Henningsen <anna@addaleax.net>
32 lines
986 B
Plaintext
32 lines
986 B
Plaintext
beginning
|
|
test.vm:1
|
|
throw new Error("boo!")
|
|
^
|
|
|
|
Error: boo!
|
|
at test.vm:1:7
|
|
at ContextifyScript.Script.runInThisContext (vm.js:*)
|
|
at Object.runInThisContext (vm.js:*)
|
|
at Object.<anonymous> (*test*message*vm_display_runtime_error.js:*)
|
|
at Module._compile (module.js:*)
|
|
at Object.Module._extensions..js (module.js:*)
|
|
at Module.load (module.js:*)
|
|
at tryModuleLoad (module.js:*:*)
|
|
at Function.Module._load (module.js:*)
|
|
at Function.Module.runMain (module.js:*)
|
|
test.vm:1
|
|
throw new Error("spooky!")
|
|
^
|
|
|
|
Error: spooky!
|
|
at test.vm:1:7
|
|
at ContextifyScript.Script.runInThisContext (vm.js:*)
|
|
at Object.runInThisContext (vm.js:*)
|
|
at Object.<anonymous> (*test*message*vm_display_runtime_error.js:*)
|
|
at Module._compile (module.js:*)
|
|
at Object.Module._extensions..js (module.js:*)
|
|
at Module.load (module.js:*)
|
|
at tryModuleLoad (module.js:*:*)
|
|
at Function.Module._load (module.js:*)
|
|
at Function.Module.runMain (module.js:*)
|