From 49c508b005ac1eb8731ebccfefeee1b46de1efbd Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Tue, 23 May 2023 10:35:49 +0200 Subject: [PATCH] refactor: improve error log messages MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/charging-station/ChargingStation.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}`); } -- 2.34.1