X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fworker%2Fthread-worker.ts;h=d6a3699220b63fad5dc3191c1b4c1ca72d112bc8;hb=37b32d84b2a0d8f8addad8c5e6a306c7dd22d58d;hp=8d30ef21a8874dcfb6802e2436a7d6033a4fa8ec;hpb=a5d152043363ea21ec667205c88e0b9f2a6ff04e;p=poolifier.git diff --git a/src/worker/thread-worker.ts b/src/worker/thread-worker.ts index 8d30ef21..d6a36992 100644 --- a/src/worker/thread-worker.ts +++ b/src/worker/thread-worker.ts @@ -93,7 +93,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 } }