X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fworker%2Fthread-worker.ts;h=7b92caf67201795797f6e3e06fff4fc593f4ee94;hb=17da15c0595cab20129ac6b4c54709caf0b565cc;hp=ec6b6a0aa65ac60adb1f089a4923894798953525;hpb=5972baf82c740050a6da461a8deb8497fcaa8580;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 } }