mirror of
https://github.com/denoland/deno.git
synced 2024-12-28 01:59:06 -05:00
ebd2047de4
This commit changes formatting of JS errors; by not showing source lines for internal code. Where possible, instead using the top stack frame associated with user code i.e. the first location that is colourful and not a "deno:" URL.
5 lines
219 B
Text
5 lines
219 B
Text
[WILDCARD]error: Uncaught (in worker "bar") Error: foo[WILDCARD]
|
|
at foo ([WILDCARD])
|
|
at [WILDCARD]
|
|
error: Uncaught (in promise) Error: Unhandled error event reached main worker.
|
|
at Worker.#poll ([WILDCARD])
|