X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fworker%2Fcluster-worker.ts;h=c43e7f75a7586d2b2a9fa6633eea7da6e44697bf;hb=e677f6c55e0bb599d8e589a937a928229ecd6fea;hp=180a5273f464cfee65f5a4b0d6d4f1a8032200fc;hpb=e8a4c3ea4d5123ff7c158d139ca142144ccc1117;p=poolifier.git diff --git a/src/worker/cluster-worker.ts b/src/worker/cluster-worker.ts index 180a5273..c43e7f75 100644 --- a/src/worker/cluster-worker.ts +++ b/src/worker/cluster-worker.ts @@ -52,9 +52,4 @@ export class ClusterWorker< protected sendToMainWorker (message: MessageValue): void { this.getMainWorker().send(message) } - - /** @inheritDoc */ - protected handleError (e: Error | string): string { - return e instanceof Error ? e.message : e - } }