From: Jérôme Benoit Date: Fri, 15 Apr 2022 12:37:05 +0000 (+0200) Subject: Fixlets to log message after methods renaming X-Git-Tag: v1.1.58~9 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=1c959f1f02f80442b4fdf5afaf4c78772eefed86;p=e-mobility-charging-stations-simulator.git Fixlets to log message after methods renaming Signed-off-by: Jérôme Benoit --- diff --git a/src/charging-station/ocpp/1.6/OCPP16RequestService.ts b/src/charging-station/ocpp/1.6/OCPP16RequestService.ts index d41a4472..75e113d2 100644 --- a/src/charging-station/ocpp/1.6/OCPP16RequestService.ts +++ b/src/charging-station/ocpp/1.6/OCPP16RequestService.ts @@ -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 } );