X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fworker%2Fthread-worker.ts;h=7b92caf67201795797f6e3e06fff4fc593f4ee94;hb=037af3175d6121a6c08a631c992aa0d7fe853a9f;hp=ec6b6a0aa65ac60adb1f089a4923894798953525;hpb=904f1dd1c228e9cc710aa03fab7e50bc6daa1192;p=poolifier.git diff --git a/src/worker/thread-worker.ts b/src/worker/thread-worker.ts index ec6b6a0a..7b92caf6 100644 --- a/src/worker/thread-worker.ts +++ b/src/worker/thread-worker.ts @@ -91,7 +91,7 @@ export class ThreadWorker< } /** @inheritDoc */ - protected handleError (e: Error | string): string { - return e as string + protected handleError (error: Error | string): string { + return error as string } }