refactor: cleanup worker error handling code
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Sat, 16 Dec 2023 12:26:32 +0000 (13:26 +0100)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Sat, 16 Dec 2023 12:26:32 +0000 (13:26 +0100)
commit9974369e3530cf80c21794b59bcbbc4c72e505eb
treebfaf2c94c33e56782b5c7018c5c4a7991152cf64
parent07e0c9e591f9fa6715ba94e52c647b7ee3d2b9c7
refactor: cleanup worker error handling code

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
src/pools/abstract-pool.ts
src/pools/utils.ts
src/pools/worker-node.ts
tests/pools/worker-node.test.mjs
tests/utils.test.mjs