From: Jérôme Benoit Date: Sun, 3 Jan 2021 12:38:47 +0000 (+0100) Subject: Fix log messsage. X-Git-Tag: v1.0.1-0~152^2~1 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=df6dddca99d23c0458eb4758f651a3be8e5d2d91;p=e-mobility-charging-stations-simulator.git Fix log messsage. Signed-off-by: Jérôme Benoit --- diff --git a/src/charging-station/ChargingStation.ts b/src/charging-station/ChargingStation.ts index c88984d8..610b2b55 100644 --- a/src/charging-station/ChargingStation.ts +++ b/src/charging-station/ChargingStation.ts @@ -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 }); } }