From: Jérôme Benoit Date: Tue, 3 Nov 2020 12:18:38 +0000 (+0100) Subject: Fixlet to error message. X-Git-Tag: v1.0.1-0~222 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=64dc325e316b05a2c72622302e05de70ace25e65;p=e-mobility-charging-stations-simulator.git Fixlet to error message. Signed-off-by: Jérôme Benoit --- diff --git a/src/charging-station/ChargingStation.ts b/src/charging-station/ChargingStation.ts index 94ffc12a..c6e07365 100644 --- a/src/charging-station/ChargingStation.ts +++ b/src/charging-station/ChargingStation.ts @@ -1097,7 +1097,7 @@ export default class ChargingStation { } } else { // Throw exception - await this.sendError(messageId, new OCPPError(Constants.OCPP_ERROR_NOT_IMPLEMENTED, `${commandName} not implemented`, {}), commandName); + await this.sendError(messageId, new OCPPError(Constants.OCPP_ERROR_NOT_IMPLEMENTED, `${commandName} is not implemented`, {}), commandName); throw new Error(`${commandName} is not implemented ${JSON.stringify(commandPayload, null, ' ')}`); } // Send response