mirror of
https://github.com/denoland/deno.git
synced 2025-02-09 07:41:33 -05:00
![Bartek Iwańczuk](/assets/img/avatar_default.png)
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
|