diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2020-10-20 05:05:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-20 15:05:42 +1100 |
commit | 7aba07cc7711adfa774afd8e77695f386127c4bc (patch) | |
tree | 3325f296ed175cf61b845fa0673e8356f84913b1 /cli/tests/073_worker_error.ts | |
parent | 57e95032c898cfdfe795e6924d402fdbe2ae59a8 (diff) |
fix(cli/worker): Print error stacks from the origin Worker (#7987)
Fixes #4728
Diffstat (limited to 'cli/tests/073_worker_error.ts')
-rw-r--r-- | cli/tests/073_worker_error.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cli/tests/073_worker_error.ts b/cli/tests/073_worker_error.ts new file mode 100644 index 000000000..736c4fde6 --- /dev/null +++ b/cli/tests/073_worker_error.ts @@ -0,0 +1,5 @@ +const worker = new Worker( + new URL("subdir/worker_error.ts", import.meta.url).href, + { type: "module", name: "bar" }, +); +setTimeout(() => worker.terminate(), 30000); |