From 7aba07cc7711adfa774afd8e77695f386127c4bc Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Tue, 20 Oct 2020 05:05:42 +0100 Subject: fix(cli/worker): Print error stacks from the origin Worker (#7987) Fixes #4728 --- cli/tests/subdir/worker_error.ts | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 cli/tests/subdir/worker_error.ts (limited to 'cli/tests/subdir') diff --git a/cli/tests/subdir/worker_error.ts b/cli/tests/subdir/worker_error.ts new file mode 100644 index 000000000..495971090 --- /dev/null +++ b/cli/tests/subdir/worker_error.ts @@ -0,0 +1,5 @@ +function foo() { + throw new Error("foo"); +} + +foo(); -- cgit v1.2.3