mirror of
https://github.com/denoland/deno.git
synced 2024-11-26 16:09:27 -05:00
97954003cc
Adds error event dispatching for queueMicrotask(). Consequently unhandled errors are now reported with Deno.core.terminate(), which is immune to the existing quirk with plainly thrown errors (#14158).
6 lines
140 B
Text
6 lines
140 B
Text
1
|
|
error: Uncaught Error: foo
|
|
throw new Error("foo");
|
|
^
|
|
at [WILDCARD]/queue_microtask_error.ts:2:9
|
|
at deno:core/[WILDCARD]
|