From: Jérôme Benoit Date: Wed, 23 Mar 2022 23:06:12 +0000 (+0100) Subject: Refine charging profile limitation error log message X-Git-Tag: v1.1.57~32 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=021394c6d67e67e828a3f1de9d8e81c5dba60c49;p=e-mobility-charging-stations-simulator.git Refine charging profile limitation error log message Signed-off-by: Jérôme Benoit --- diff --git a/src/charging-station/ChargingStation.ts b/src/charging-station/ChargingStation.ts index 8240e5b0..79fc4f43 100644 --- a/src/charging-station/ChargingStation.ts +++ b/src/charging-station/ChargingStation.ts @@ -783,7 +783,9 @@ export default class ChargingStation { this.stationInfo.powerDivider; if (limit > connectorMaximumPower) { logger.error( - `${this.logPrefix()} Charging profile limit is greater than connector id ${connectorId} maximum, dump their stack: %j`, + `${this.logPrefix()} Charging profile id ${ + matchingChargingProfile.chargingProfileId + } limit is greater than connector id ${connectorId} maximum, dump charging profiles' stack: %j`, this.getConnectorStatus(connectorId).chargingProfiles ); limit = connectorMaximumPower;