From: Jérôme Benoit Date: Tue, 23 May 2023 08:35:49 +0000 (+0200) Subject: refactor: improve error log messages X-Git-Tag: v1.2.14~20 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=49c508b005ac1eb8731ebccfefeee1b46de1efbd;p=e-mobility-charging-stations-simulator.git refactor: improve error log messages Signed-off-by: Jérôme Benoit --- diff --git a/src/charging-station/ChargingStation.ts b/src/charging-station/ChargingStation.ts index 35d40ece..311df3fd 100644 --- a/src/charging-station/ChargingStation.ts +++ b/src/charging-station/ChargingStation.ts @@ -2180,7 +2180,7 @@ export class ChargingStation { if (Utils.isNotEmptyString(configuredSupervisionUrl)) { return new URL(configuredSupervisionUrl); } - const errorMsg = 'No supervision url configured'; + const errorMsg = 'No supervision url(s) configured'; logger.error(`${this.logPrefix()} ${errorMsg}`); throw new BaseError(`${errorMsg}`); }