From: Jérôme Benoit Date: Mon, 5 Feb 2024 21:59:24 +0000 (+0100) Subject: refactor: refine worker event error log message X-Git-Tag: v1.2.36~36 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=3ab327597187f09b9005784a615c378c491a41ae;p=e-mobility-charging-stations-simulator.git refactor: refine worker event error log message Signed-off-by: Jérôme Benoit --- diff --git a/src/charging-station/Bootstrap.ts b/src/charging-station/Bootstrap.ts index 07d411b5..0e0a8607 100644 --- a/src/charging-station/Bootstrap.ts +++ b/src/charging-station/Bootstrap.ts @@ -154,7 +154,7 @@ export class Bootstrap extends EventEmitter { ChargingStationWorkerMessageEvents.workerElementError, (eventError: ChargingStationWorkerEventError) => { logger.error( - `${this.logPrefix()} ${moduleName}.messageHandler: Error occurred while handling '${eventError.event}' event on worker:`, + `${this.logPrefix()} ${moduleName}.start: Error occurred while handling '${eventError.event}' event on worker:`, eventError ) }