Moving `try / catch` into separate functions is not necessary anymore due to V8 optimizations. PR-URL: https://github.com/nodejs/node/pull/26970 Refs: https://github.com/nodejs/node/pull/25362 Reviewed-By: Guy Bedford <guybedford@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
16 lines
578 B
Text
16 lines
578 B
Text
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:*:*
|