Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
this.chargingStation.getAutomaticTransactionGeneratorStatuses()![statusIndex]
)
} else if (this.chargingStation.getAutomaticTransactionGeneratorStatuses() != null) {
- logger.error(`${this.logPrefix(connectorId)} no status found for connector #${connectorId}`)
+ logger.warn(
+ `${this.logPrefix(connectorId)} no status found for connector #${connectorId} in charging station configuration file. New status will be created`
+ )
}
if (connectorStatus != null) {
connectorStatus.startDate = convertToDate(connectorStatus.startDate)