Refine connector id validation error message
authorJérôme Benoit <jerome.benoit@sap.com>
Sat, 5 Nov 2022 21:58:20 +0000 (22:58 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Sat, 5 Nov 2022 21:58:20 +0000 (22:58 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/charging-station/ocpp/OCPPServiceUtils.ts

index 2fae9934fb9e29dcc5b08e66e289289f44f5ad35..4542e6efb609d7316f49a729bc88d8d450413cb2 100644 (file)
@@ -96,7 +96,7 @@ export class OCPPServiceUtils {
   ): boolean {
     if (connectorId < 0) {
       logger.error(
-        `${chargingStation.logPrefix()} ${ocppCommand} incoming request received with invalid connectorId ${connectorId}`
+        `${chargingStation.logPrefix()} ${ocppCommand} incoming request received with invalid connector Id ${connectorId}`
       );
       return false;
     }