diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2021-02-26 11:40:05 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-26 12:40:05 +0100 |
commit | ebd2047de442334d6a8fea3a1d2d87e49980f90e (patch) | |
tree | 34004d5082702e89ec0b2fec5f29f10a25038f98 /cli/tests/error_009_op_crates_error.js.out | |
parent | 3d87198ba0e8775e303da01519f01a2025c55cee (diff) |
feat(cli/source_map): Use top user frame for error source lines (#9604)
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.
Diffstat (limited to 'cli/tests/error_009_op_crates_error.js.out')
-rw-r--r-- | cli/tests/error_009_op_crates_error.js.out | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cli/tests/error_009_op_crates_error.js.out b/cli/tests/error_009_op_crates_error.js.out index b46ba3c16..fec758dfc 100644 --- a/cli/tests/error_009_op_crates_error.js.out +++ b/cli/tests/error_009_op_crates_error.js.out @@ -1,3 +1,6 @@ -[WILDCARD]error: Uncaught TypeError: Failed to construct 'Event': 1 argument, but only 0 present.[WILDCARD] +[WILDCARD]error: Uncaught TypeError: Failed to construct 'Event': 1 argument, but only 0 present. +new Event(); +^ + at [WILDCARD] at new Event (deno:op_crates/web/[WILDCARD]) at [WILDCARD] |