Fixlet to error message.
authorJérôme Benoit <jerome.benoit@sap.com>
Tue, 3 Nov 2020 12:18:38 +0000 (13:18 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Tue, 3 Nov 2020 12:18:38 +0000 (13:18 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/charging-station/ChargingStation.ts

index 94ffc12a2481edca965765d1f669fff60902d9f4..c6e07365e268eeaeeaecaef0db2a7b08c23f7354 100644 (file)
@@ -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