Fix log messsage.
authorJérôme Benoit <jerome.benoit@sap.com>
Sun, 3 Jan 2021 12:38:47 +0000 (13:38 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Sun, 3 Jan 2021 12:38:47 +0000 (13:38 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/charging-station/ChargingStation.ts

index c88984d80d84cae9cc83e23ba55834a02c9afb19..610b2b55c0012feafafa17a4bc5a7591f5ac3118 100644 (file)
@@ -1333,7 +1333,7 @@ export default class ChargingStation {
       const keyIndex = this._configuration.configurationKey.indexOf(keyFound);
       this._configuration.configurationKey[keyIndex].value = value;
     } else {
-      logger.error(`${this._logPrefix()} Trying to set a value on a non existing configuration key: %j`, keyFound);
+      logger.error(`${this._logPrefix()} Trying to set a value on a non existing configuration key: %j`, { key, value });
     }
   }