Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Commit

Permalink
Refine charging profile limitation error log message
Browse files Browse the repository at this point in the history
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
  • Loading branch information
Jérôme Benoit committed Mar 23, 2022
1 parent ad8537a commit 021394c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/charging-station/ChargingStation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 021394c

Please sign in to comment.