mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
be577615c8
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>
21 lines
943 B
Plaintext
21 lines
943 B
Plaintext
events.js:*
|
|
throw er; // Unhandled 'error' event
|
|
^
|
|
|
|
Error: foo:bar
|
|
at bar (*events_unhandled_error_common_trace.js:*:*)
|
|
at foo (*events_unhandled_error_common_trace.js:*:*)
|
|
at Object.<anonymous> (*events_unhandled_error_common_trace.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:*:*
|
|
Emitted 'error' event at:
|
|
at quux (*events_unhandled_error_common_trace.js:*:*)
|
|
at Object.<anonymous> (*events_unhandled_error_common_trace.js:*:*)
|
|
at Module._compile (internal/modules/cjs/loader.js:*:*)
|
|
[... lines matching original stack trace ...]
|
|
at internal/main/run_main_module.js:*:*
|