Fix log message quoting
authorJérôme Benoit <jerome.benoit@sap.com>
Tue, 14 Sep 2021 19:16:38 +0000 (21:16 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Tue, 14 Sep 2021 19:16:38 +0000 (21:16 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
src/charging-station/ChargingStation.ts

index 103a96f0bdc970b003169adccb801009a4d1c57b..8c7d2d1e56f27544ad163d04b5d25e195d54ab0f 100644 (file)
@@ -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;
     }