Update WaitForPowerDeliveryReq.java

Changed the error log into  a warn log an EVSE-initiated shutdown could be the cause for the corresponding DC_EVSE_StatusCode.
This commit is contained in:
Marc Mültin 2020-05-02 14:15:25 +02:00 committed by GitHub
parent 5446786323
commit 7a8e3a9a23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ public class WaitForPowerDeliveryReq extends ServerState {
dcEVSEStatusCode.equals(DCEVSEStatusCodeType.EVSE_SHUTDOWN) ||
dcEVSEStatusCode.equals(DCEVSEStatusCodeType.EVSE_EMERGENCY_SHUTDOWN) ||
dcEVSEStatusCode.equals(DCEVSEStatusCodeType.EVSE_MALFUNCTION)) {
getLogger().error("EVSE status code is '" + dcEVSEStatusCode.toString() + "'");
getLogger().warn("EVSE status code is '" + dcEVSEStatusCode.toString() + "'");
if (!powerDeliveryReq.getChargeProgress().equals(ChargeProgressType.STOP)) {
powerDeliveryRes.setResponseCode(ResponseCodeType.FAILED_POWER_DELIVERY_NOT_APPLIED);