node/test/pseudo-tty/test-fatal-error.out
Michaël Zasso 21782277c2
src: use node:moduleName as builtin module filename
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>
2020-10-07 17:35:14 +02:00

15 lines
348 B
Plaintext

*test-fatal-error.js:*
throw err;
^
TypeError: foobar
at Object.<anonymous> (*test-fatal-error.js:*)
*[90m at *(node:internal*loader:*:*)*[39m
*[90m at *(node:internal*loader:*:*)*[39m
*[90m at *(node:internal*loader:*:*)*[39m
*[90m at *(node:internal*loader:*:*)*[39m
*[90m at *[39m
*[90m at *[39m {
bla: *[33mtrue*[39m
}