mirror of
https://github.com/nodejs/node.git
synced 2026-12-04 21:19:06 -05:00
There are some changes for function names in stack traces. PR-URL: https://github.com/nodejs/node/pull/42657 Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
38 lines
1.6 KiB
Plaintext
38 lines
1.6 KiB
Plaintext
node:assert:*
|
|
throw newErr;
|
|
^
|
|
|
|
AssertionError [ERR_ASSERTION]: ifError got unwanted exception: test error
|
|
at z (*if-error-has-good-stack.js:*:*
|
|
at y (*if-error-has-good-stack.js:*:*)
|
|
at x (*if-error-has-good-stack.js:*:*)
|
|
at Object.<anonymous> (*if-error-has-good-stack.js:*:*)
|
|
at c (*if-error-has-good-stack.js:*:*)
|
|
at b (*if-error-has-good-stack.js:*:*)
|
|
at a (*if-error-has-good-stack.js:*:*)
|
|
at Object.<anonymous> (*if-error-has-good-stack.js:*:*)
|
|
at Module._compile (node:internal/modules/cjs/loader:*:*)
|
|
at Module._extensions..js (node:internal/modules/cjs/loader:*:*)
|
|
at Module.load (node:internal/modules/cjs/loader:*:*)
|
|
at Module._load (node:internal/modules/cjs/loader:*:*)
|
|
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:*:*)
|
|
at node:internal/main/run_main_module:*:* {
|
|
generatedMessage: false,
|
|
code: 'ERR_ASSERTION',
|
|
actual: Error: test error
|
|
at c (*if-error-has-good-stack.js:*:*)
|
|
at b (*if-error-has-good-stack.js:*:*)
|
|
at a (*if-error-has-good-stack.js:*:*)
|
|
at Object.<anonymous> (*if-error-has-good-stack.js:*:*)
|
|
at Module._compile (node:internal/modules/cjs/loader:*:*)
|
|
at Module._extensions..js (node:internal/modules/cjs/loader:*:*)
|
|
at Module.load (node:internal/modules/cjs/loader:*:*)
|
|
at Module._load (node:internal/modules/cjs/loader:*:*)
|
|
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:*:*)
|
|
at node:internal/main/run_main_module:*:*
|
|
expected: null,
|
|
operator: 'ifError'
|
|
}
|
|
|
|
Node.js *
|