mirror of
https://github.com/denoland/deno.git
synced 2024-11-01 09:24:20 -04: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.
8 lines
388 B
Text
8 lines
388 B
Text
[WILDCARD]Error: constructor
|
|
at new A ([WILDCARD]tests/error_020_stack_constructor.ts:[WILDCARD])
|
|
at [WILDCARD]tests/error_020_stack_constructor.ts:[WILDCARD]
|
|
error: Uncaught Error: constructor
|
|
throw new Error("constructor");
|
|
^
|
|
at new A ([WILDCARD]tests/error_020_stack_constructor.ts:[WILDCARD])
|
|
at [WILDCARD]tests/error_020_stack_constructor.ts:[WILDCARD]
|