repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
docs: add changelog entry
[poolifier.git]
/
src
/
worker
/
thread-worker.ts
diff --git
a/src/worker/thread-worker.ts
b/src/worker/thread-worker.ts
index 2b3df58361eb28a9d0ccc2f694208bb0e4426c02..09135afffc913dd7b983b7cbac9134bb5573b3b3 100644
(file)
--- a/
src/worker/thread-worker.ts
+++ b/
src/worker/thread-worker.ts
@@
-56,4
+56,9
@@
export class ThreadWorker<
protected sendToMainWorker (message: MessageValue<Response>): void {
this.getMainWorker().postMessage(message)
}
+
+ /** @inheritDoc */
+ protected handleError (e: Error | string): string {
+ return e as string
+ }
}