diff options
author | Cre3per <12541974+Cre3per@users.noreply.github.com> | 2022-10-26 15:37:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-26 15:37:45 +0200 |
commit | 193b8828c5b437b61d6310391fff6a9c6f393b0a (patch) | |
tree | 57e6dd95eab2026ba1278fac8f39f5b1469df7e4 /cli/tests/testdata/run | |
parent | 6cd9343e8b6f6ede22ec56b06e6918a80c9a3ddd (diff) |
feat(cli): show error cause recursion information (#16384)
Diffstat (limited to 'cli/tests/testdata/run')
-rw-r--r-- | cli/tests/testdata/run/error_cause_recursive.ts.out | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cli/tests/testdata/run/error_cause_recursive.ts.out b/cli/tests/testdata/run/error_cause_recursive.ts.out index ac729574d..3ae440cf7 100644 --- a/cli/tests/testdata/run/error_cause_recursive.ts.out +++ b/cli/tests/testdata/run/error_cause_recursive.ts.out @@ -1,10 +1,8 @@ [WILDCARD] -error: Uncaught Error: bar +error: Uncaught Error: bar <ref *1> const y = new Error("bar", { cause: x }); ^ at file:///[WILDCARD]/error_cause_recursive.ts:2:11 Caused by: Error: foo at file:///[WILDCARD]/error_cause_recursive.ts:1:11 -Caused by: Error: bar - at file:///[WILDCARD]/error_cause_recursive.ts:2:11 -[WILDCARD] +Caused by: [Circular *1] |