X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fcharging-station%2Focpp%2FOCPPRequestService.ts;h=d17c21d3805945bc94bc93534d4c2eca2a698f33;hb=2d7040b2cd9d96dceb0160a5afe7dca5c727b890;hp=c35f78de254e8080743aa81f11253877cfd6ca1c;hpb=e7accadb398c418c41571c53e2c70b1cca3e83d5;p=e-mobility-charging-stations-simulator.git diff --git a/src/charging-station/ocpp/OCPPRequestService.ts b/src/charging-station/ocpp/OCPPRequestService.ts index c35f78de..d17c21d3 100644 --- a/src/charging-station/ocpp/OCPPRequestService.ts +++ b/src/charging-station/ocpp/OCPPRequestService.ts @@ -81,7 +81,7 @@ export default abstract class OCPPRequestService { logger.debug(`${self.chargingStation.logPrefix()} Error: %j occurred when calling command %s with parameters: %j`, error, commandName, commandParams); // Build Exception // eslint-disable-next-line no-empty-function - self.chargingStation.requests.set(messageId, [() => { }, () => { }, {}]); + self.chargingStation.requests.set(messageId, [() => { /* This is intentiomal */ }, () => { /* This is intentiomal */ }, {}]); // Send error reject(error); }