Fix not initialized variables at startup
authorJérôme Benoit <jerome.benoit@sap.com>
Wed, 18 May 2022 12:37:49 +0000 (14:37 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Wed, 18 May 2022 12:37:49 +0000 (14:37 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/charging-station/ChargingStation.ts

index 2b0b071137ceccbb5825001e1118d6f72b2aa75f..89bb9d8ef40ac3819eef213f2ac3d657415574c6 100644 (file)
@@ -840,7 +840,7 @@ export default class ChargingStation {
       stationInfo,
       'supervisionUrl',
       this.templateFile,
-      this.logPrefix(),
+      Utils.logPrefix(` ${chargingStationId} |`),
       "Use 'supervisionUrls' instead"
     );
     ChargingStationUtils.convertDeprecatedTemplateKey(