From: Jérôme Benoit Date: Fri, 26 May 2023 12:35:37 +0000 (+0200) Subject: refactor: format error message properly X-Git-Tag: v1.2.14~4 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=3f3ac53e97ea4b79d0750836bd9d8ac33a7bec77;p=e-mobility-charging-stations-simulator.git refactor: format error message properly Signed-off-by: Jérôme Benoit --- diff --git a/src/charging-station/Bootstrap.ts b/src/charging-station/Bootstrap.ts index 96a498f6..a1ee4ff2 100644 --- a/src/charging-station/Bootstrap.ts +++ b/src/charging-station/Bootstrap.ts @@ -299,7 +299,7 @@ export class Bootstrap extends EventEmitter { process.exit(0); }) .catch((error) => { - console.error(chalk.red('Error while stopping charging stations simulator:'), error); + console.error(chalk.red('Error while stopping charging stations simulator: '), error); process.exit(1); }); };