repositories
/
poolifier.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8d8838
)
Revert type conversion at error handling
author
Jérôme Benoit
<jerome.benoit@sap.com>
Sun, 29 Aug 2021 14:53:26 +0000
(16:53 +0200)
committer
Jérôme Benoit
<jerome.benoit@sap.com>
Sun, 29 Aug 2021 14:53:26 +0000
(16:53 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/worker/abstract-worker.ts
patch
|
blob
|
blame
|
history
diff --git
a/src/worker/abstract-worker.ts
b/src/worker/abstract-worker.ts
index e97c03473c2dc04da13d6507b40fc750ca72d8a8..60b5108273858ee1d761386edddd5e08be511dba 100644
(file)
--- a/
src/worker/abstract-worker.ts
+++ b/
src/worker/abstract-worker.ts
@@
-146,7
+146,7
@@
export abstract class AbstractWorker<
* @returns Message of the error.
*/
protected handleError (e: Error | string): string {
- return e
.toString()
+ return e
as string
}
/**