X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fworker%2Fthread-worker.ts;h=d5ce3a2f130da3efbe81f0aa0e3b3e7394033822;hb=d91689fda0fa7a85014ac25276cf2cf0a9d81ce2;hp=bfd1c13cdb41775c0c01d031cb0aedf9d364959b;hpb=b560403426309944ad775794161773a745263190;p=poolifier.git diff --git a/src/worker/thread-worker.ts b/src/worker/thread-worker.ts index bfd1c13c..d5ce3a2f 100644 --- a/src/worker/thread-worker.ts +++ b/src/worker/thread-worker.ts @@ -90,7 +90,10 @@ export class ThreadWorker< this.port.postMessage({ ...message, workerId: this.id }) } - /** @inheritDoc */ + /** + * @inheritDoc + * @override + */ protected handleError (error: Error | string): string { return error as string }