Merge branch 'master' of github.com:poolifier/poolifier into feature/task-functions
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Sat, 16 Sep 2023 22:02:19 +0000 (00:02 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Sat, 16 Sep 2023 22:02:19 +0000 (00:02 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
src/worker/thread-worker.ts

index ec6b6a0aa65ac60adb1f089a4923894798953525..7b92caf67201795797f6e3e06fff4fc593f4ee94 100644 (file)
@@ -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
   }
 }