X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fworker%2FWorkerUtils.ts;h=a181d80e205a2d6050e0f148311846d9a38db97a;hb=8eac9a09368f841fc44e980f31674146833e449b;hp=7db9de9e70fb2170dde17d7fad41df7ac1047f8c;hpb=81797102d5214fea2fc58eff2666fe8b8d9a5a11;p=e-mobility-charging-stations-simulator.git diff --git a/src/worker/WorkerUtils.ts b/src/worker/WorkerUtils.ts index 7db9de9e..a181d80e 100644 --- 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) { - console.error(`Worker stopped with exit code ${code}`); + console.error(chalk.red(`Worker stopped with exit code ${code}`)); } }; }