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
Do not log response statistics at sending issues
[e-mobility-charging-stations-simulator.git]
/
src
/
worker
/
WorkerUtils.ts
diff --git
a/src/worker/WorkerUtils.ts
b/src/worker/WorkerUtils.ts
index 7db9de9e70fb2170dde17d7fad41df7ac1047f8c..a181d80e205a2d6050e0f148311846d9a38db97a 100644
(file)
--- a/
src/worker/WorkerUtils.ts
+++ b/
src/worker/WorkerUtils.ts
@@
-1,7
+1,9
@@
+import chalk from 'chalk';
+
export class WorkerUtils {
public static defaultExitHandler = (code: number): void => {
if (code !== 0) {
export class WorkerUtils {
public static defaultExitHandler = (code: number): void => {
if (code !== 0) {
- console.error(
`Worker stopped with exit code ${code}`
);
+ console.error(
chalk.red(`Worker stopped with exit code ${code}`)
);
}
};
}
}
};
}