refactor: refine worker event error log message
authorJérôme Benoit <jerome.benoit@sap.com>
Mon, 5 Feb 2024 21:59:24 +0000 (22:59 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Mon, 5 Feb 2024 21:59:24 +0000 (22:59 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/charging-station/Bootstrap.ts

index 07d411b59aaf763028e3a5d5ceb579e88de44177..0e0a8607a07295c70bf2f5a9a1a442e351d006f8 100644 (file)
@@ -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
             )
           }