Release 1.0.34
[e-mobility-charging-stations-simulator.git] / src / charging-station / ocpp / OCPPRequestService.ts
index 6c24665ac1042b5591184f69627e83b3b265f1f1..ccc6fc2b4a919f02030440b17a2fa7af4236c51d 100644 (file)
@@ -106,7 +106,7 @@ export default abstract class OCPPRequestService {
     });
   }
 
-  public handleRequestError(commandName: RequestCommand, error: Error): void {
+  protected handleRequestError(commandName: RequestCommand, error: Error): void {
     logger.error(this.chargingStation.logPrefix() + ' Request command ' + commandName + ' error: %j', error);
     throw error;
   }