1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-14 19:37:59 -05:00
denoland-deno/cli/tests/testdata/unhandled_rejection_sync_error.ts.out
Bartek Iwańczuk 504d2936ec
fix: unhandledrejection handling for sync throw in top level (#15279)
Fixes an edge in "unhandledrejection" event that prevent synchronous
errors being surfaced when throw from a top-level scope.
2022-07-23 00:40:42 +02:00

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