feat: add worker side error stack trace to WorkerError (#2631)
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Thu, 24 Oct 2024 16:00:50 +0000 (18:00 +0200)
committerGitHub <noreply@github.com>
Thu, 24 Oct 2024 16:00:50 +0000 (18:00 +0200)
commit5fd1e6bf528d56998a64e5238d4428af693b18c8
treeac5e10a678ee8d106e9764ae127922fd7c1776f0
parentb0bd470729633f5e2a4513ffdd506d212d9f6754
feat: add worker side error stack trace to WorkerError (#2631)

* feat: add worker side error stack trace to WorkerError

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
* refactor: remove unneeded condition

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
---------

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
src/utility-types.ts
src/worker/abstract-worker.ts
src/worker/thread-worker.ts
tests/pools/cluster/fixed.test.mjs
tests/pools/thread/fixed.test.mjs
tests/worker/cluster-worker.test.mjs
tests/worker/thread-worker.test.mjs