mirror of
https://github.com/denoland/deno.git
synced 2025-02-23 05:33:33 -05:00

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.
10 lines
460 B
Text
10 lines
460 B
Text
[WILDCARD]Error: Promise.all()
|
|
at [WILDCARD]tests/error_024_stack_promise_all.ts:[WILDCARD]
|
|
at async Promise.all (index 1)
|
|
at async [WILDCARD]tests/error_024_stack_promise_all.ts:[WILDCARD]
|
|
error: Uncaught Error: Promise.all()
|
|
throw new Error("Promise.all()");
|
|
^
|
|
at [WILDCARD]tests/error_024_stack_promise_all.ts:[WILDCARD]
|
|
at async Promise.all (index 1)
|
|
at async [WILDCARD]tests/error_024_stack_promise_all.ts:[WILDCARD]
|