mirror of
https://github.com/denoland/deno.git
synced 2025-02-22 21:23:32 -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.
8 lines
349 B
Text
8 lines
349 B
Text
[WILDCARD]Error: method
|
|
at A.m ([WILDCARD]tests/error_021_stack_method.ts:[WILDCARD])
|
|
at [WILDCARD]tests/error_021_stack_method.ts:[WILDCARD]
|
|
error: Uncaught Error: method
|
|
throw new Error("method");
|
|
^
|
|
at A.m ([WILDCARD]tests/error_021_stack_method.ts:[WILDCARD])
|
|
at [WILDCARD]tests/error_021_stack_method.ts:[WILDCARD]
|