Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
msg.data as Statistics
)
break
+ case ChargingStationWorkerMessageEvents.addedWorkerElement:
+ break
case ChargingStationWorkerMessageEvents.workerElementError:
logger.error(
`${this.logPrefix()} ${moduleName}.messageHandler: Error occurred while handling '${(msg.data as ChargingStationWorkerEventError).event}' event on worker:`,
)
this.emit(ChargingStationWorkerMessageEvents.workerElementError, msg.data)
break
- case ChargingStationWorkerMessageEvents.addedWorkerElement:
- break
default:
throw new BaseError(
`Unknown charging station worker event: '${