mirror of
https://github.com/denoland/deno.git
synced 2024-12-25 00:29:09 -05:00
54890ee98b
This adds the ability to pattern match unordered lines. For example, the downloading messages may appear in any order ``` [UNORDERED_START] Download https://localhost:4546/a.ts Download https://localhost:4546/b.ts [UNORDERED_END] Hello! ``` Additionally, I've made the pattern matching slightly more strict and the output better.
13 lines
547 B
Text
13 lines
547 B
Text
error: Uncaught Error: foo
|
|
throw new Error("foo", { cause: new Error("bar", { cause: "deno" as any }) });
|
|
^
|
|
at a (file:///[WILDCARD]/error_cause.ts:3:9)
|
|
at b (file:///[WILDCARD]/error_cause.ts:7:3)
|
|
at c (file:///[WILDCARD]/error_cause.ts:11:3)
|
|
at file:///[WILDCARD]/error_cause.ts:14:1
|
|
Caused by: Error: bar
|
|
at a (file:///[WILDCARD]/error_cause.ts:3:35)
|
|
at b (file:///[WILDCARD]/error_cause.ts:7:3)
|
|
at c (file:///[WILDCARD]/error_cause.ts:11:3)
|
|
at file:///[WILDCARD]/error_cause.ts:14:1
|
|
Caused by: "deno"
|