X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fcharging-station%2FChargingStationUtils.ts;h=aa590b7819b197cf59d4bf2150288eada03b4d2c;hb=6c8d3332b2a189a435cfeb00c942a09071c8c1df;hp=e0a68e531a197930626af3fcc336ae57dc79f63f;hpb=a71d4e70068e2fa299a182803fb1d9b828d8335b;p=e-mobility-charging-stations-simulator.git diff --git a/src/charging-station/ChargingStationUtils.ts b/src/charging-station/ChargingStationUtils.ts index e0a68e53..aa590b78 100644 --- a/src/charging-station/ChargingStationUtils.ts +++ b/src/charging-station/ChargingStationUtils.ts @@ -716,7 +716,9 @@ const getLimitFromChargingProfiles = ( isAfter(chargingSchedule.startSchedule, endOfDay(currentDate)) ) { logger.error( - `${logPrefix} ${moduleName}.getLimitFromChargingProfiles: Recurring charging profile id ${ + `${logPrefix} ${moduleName}.getLimitFromChargingProfiles: Recurring ${ + chargingProfile.recurrencyKind + } charging profile id ${ chargingProfile.chargingProfileId } startSchedule ${chargingSchedule.startSchedule.toISOString()} is not properly translated to the current day`, ); @@ -734,7 +736,9 @@ const getLimitFromChargingProfiles = ( isAfter(chargingSchedule.startSchedule, endOfWeek(currentDate)) ) { logger.error( - `${logPrefix} ${moduleName}.getLimitFromChargingProfiles: Recurring charging profile id ${ + `${logPrefix} ${moduleName}.getLimitFromChargingProfiles: Recurring ${ + chargingProfile.recurrencyKind + } charging profile id ${ chargingProfile.chargingProfileId } startSchedule ${chargingSchedule.startSchedule.toISOString()} is not properly translated to the current week`, );