repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Log errors in worker
[e-mobility-charging-stations-simulator.git]
/
src
/
worker
/
WorkerSet.ts
diff --git
a/src/worker/WorkerSet.ts
b/src/worker/WorkerSet.ts
index 956d97de0f07b54f0ce627f4620642205963de2a..2fed62f5669828e0e18d3abf6bcf4e245d74fbf0 100644
(file)
--- a/
src/worker/WorkerSet.ts
+++ b/
src/worker/WorkerSet.ts
@@
-96,8
+96,8
@@
export default class WorkerSet extends WorkerAbstract<WorkerData> {
/* This is intentional */
});
});
- worker.on('error', () => {
- /* This is intentional */
+ worker.on('error', (
error
) => {
+ WorkerUtils.defaultErrorHandler(error);
});
worker.on('exit', (code) => {
WorkerUtils.defaultExitHandler(code);