Fixlets to log message after methods renaming
authorJérôme Benoit <jerome.benoit@sap.com>
Fri, 15 Apr 2022 12:37:05 +0000 (14:37 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Fri, 15 Apr 2022 12:37:05 +0000 (14:37 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/charging-station/ocpp/1.6/OCPP16RequestService.ts

index d41a4472ec2637dba8b48a3f18044843e8106662..75e113d21162efaecb375b069ab60e124552242c 100644 (file)
@@ -37,7 +37,7 @@ export default class OCPP16RequestService extends OCPPRequestService {
     }
     throw new OCPPError(
       ErrorType.NOT_SUPPORTED,
-      `${moduleName}.sendMessageHandler: Unsupported OCPP command ${commandName}`,
+      `${moduleName}.requestHandler: Unsupported OCPP command ${commandName}`,
       commandName,
       { commandName }
     );
@@ -133,7 +133,7 @@ export default class OCPP16RequestService extends OCPPRequestService {
         throw new OCPPError(
           ErrorType.NOT_SUPPORTED,
           // eslint-disable-next-line @typescript-eslint/restrict-template-expressions
-          `${moduleName}.buildCommandPayload: Unsupported OCPP command: ${commandName}`,
+          `${moduleName}.buildRequestPayload: Unsupported OCPP command: ${commandName}`,
           commandName,
           { commandName }
         );