mirror of
https://github.com/denoland/deno.git
synced 2024-12-23 07:44:48 -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
|