mirror of
https://github.com/denoland/deno.git
synced 2024-12-12 10:37:52 -05:00
504d2936ec
Fixes an edge in "unhandledrejection" event that prevent synchronous errors being surfaced when throw from a top-level scope.
6 lines
238 B
Text
6 lines
238 B
Text
[WILDCARD]
|
|
unhandled rejection at: Promise {
|
|
<rejected> Error: boom!
|
|
at file:///[WILDCARD]testdata/unhandled_rejection_sync_error.ts:6:7
|
|
} reason: Error: boom!
|
|
at file:///[WILDCARD]testdata/unhandled_rejection_sync_error.ts:6:7
|