From: Jérôme Benoit Date: Tue, 14 Sep 2021 19:16:38 +0000 (+0200) Subject: Fix log message quoting X-Git-Tag: v1.0.61~2 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=b4a58db4470e2ddc4825504ff639777d635958e2;p=e-mobility-charging-stations-simulator.git Fix log message quoting Signed-off-by: Jérôme Benoit --- diff --git a/src/charging-station/ChargingStation.ts b/src/charging-station/ChargingStation.ts index 103a96f0..8c7d2d1e 100644 --- a/src/charging-station/ChargingStation.ts +++ b/src/charging-station/ChargingStation.ts @@ -641,7 +641,7 @@ export default class ChargingStation { break; // Abnormal close default: - logger.error(`${this.logPrefix()} Socket abnormally closed with status '${Utils.getWebSocketCloseEventStatusString(code)} and reason '${reason}'`); + logger.error(`${this.logPrefix()} Socket abnormally closed with status '${Utils.getWebSocketCloseEventStatusString(code)}' and reason '${reason}'`); await this.reconnect(code); break; }