mirror of
https://github.com/nodejs/node.git
synced 2024-11-28 22:46:31 +01:00
a9f518c901
This makes sure that errors that shut down the application are inspected with `util.inspect()`. That makes sure that all extra properties on the error will be visible and also that the stack trace is highlighted (Node.js internal frames will be grey and node modules are underlined). PR-URL: https://github.com/nodejs/node/pull/27243 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
23 lines
687 B
Plaintext
23 lines
687 B
Plaintext
Exiting with code=1
|
|
assert.js:*
|
|
throw new AssertionError(obj);
|
|
^
|
|
|
|
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
|
|
|
|
1 !== 2
|
|
|
|
at Object.<anonymous> (*test*message*error_exit.js:*:*)
|
|
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 Function.Module.runMain (internal/modules/cjs/loader.js:*:*)
|
|
at internal/main/run_main_module.js:*:* {
|
|
generatedMessage: true,
|
|
code: 'ERR_ASSERTION',
|
|
actual: 1,
|
|
expected: 2,
|
|
operator: 'strictEqual'
|
|
}
|