mirror of
https://github.com/denoland/deno.git
synced 2024-11-26 16:09:27 -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.
10 lines
472 B
Text
10 lines
472 B
Text
[WILDCARD]Error: async
|
|
at [WILDCARD]tests/error_023_stack_async.ts:[WILDCARD]
|
|
at async [WILDCARD]tests/error_023_stack_async.ts:[WILDCARD]
|
|
at async [WILDCARD]tests/error_023_stack_async.ts:[WILDCARD]
|
|
error: Uncaught Error: async
|
|
throw new Error("async");
|
|
^
|
|
at [WILDCARD]tests/error_023_stack_async.ts:[WILDCARD]
|
|
at async [WILDCARD]tests/error_023_stack_async.ts:[WILDCARD]
|
|
at async [WILDCARD]tests/error_023_stack_async.ts:[WILDCARD]
|