repositories
/
poolifier.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c8ac84
)
refactor: refine worker termination error message
author
Jérôme Benoit
<jerome.benoit@sap.com>
Mon, 14 Aug 2023 19:11:33 +0000
(21:11 +0200)
committer
Jérôme Benoit
<jerome.benoit@sap.com>
Mon, 14 Aug 2023 19:11:33 +0000
(21:11 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/pools/abstract-pool.ts
patch
|
blob
|
blame
|
history
diff --git
a/src/pools/abstract-pool.ts
b/src/pools/abstract-pool.ts
index 1d27428e05f3328427977bbda2947fcda9c873a4..f76ad2f55bf4326383077456d7414aa8c023ea2e 100644
(file)
--- a/
src/pools/abstract-pool.ts
+++ b/
src/pools/abstract-pool.ts
@@
-703,7
+703,7
@@
export abstract class AbstractPool<
if (message.kill === 'success') {
resolve()
} else if (message.kill === 'failure') {
- reject(new Error(
'Worker kill message handling failed'
))
+ reject(new Error(
`Worker ${workerId} kill message handling failed`
))
}
})
})