diff --git a/pom.xml b/pom.xml
index 40359a86..9075302e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -17,7 +17,7 @@
com.dispose
dispose_platform
- 2.0.8.7
+ 2.0.8.8
dispose_platform
Dispose Platform
diff --git a/src/main/java/com/dispose/ability/impl/PengXinAbilityImpl.java b/src/main/java/com/dispose/ability/impl/PengXinAbilityImpl.java
index bc2e667e..aa5c4be0 100644
--- a/src/main/java/com/dispose/ability/impl/PengXinAbilityImpl.java
+++ b/src/main/java/com/dispose/ability/impl/PengXinAbilityImpl.java
@@ -189,7 +189,9 @@ public class PengXinAbilityImpl implements DisposeAbility {
err = verifyRespStatus(rspInfo.getMsgContent().getItems().get(0).getStatus());
if (err != ErrorCode.ERR_OK) {
- log.error("----Error PengXin start clean {} server return {}", disposeObject, err.getMsg());
+ log.error("----Error PengXin start clean {} server return {}({})", disposeObject,
+ rspInfo.getMsgContent().getItems().get(0).getStatus(),
+ rspInfo.getMsgContent().getItems().get(0).getMessage());
return new MulReturnType<>(err, disposeObject);
}
@@ -559,7 +561,13 @@ public class PengXinAbilityImpl implements DisposeAbility {
}
try {
- return CommonEnumHandler.codeOf(ErrorCode.class, status);
+ ErrorCode err = CommonEnumHandler.codeOf(ErrorCode.class, status);
+
+ if (err == null) {
+ return ErrorCode.ERR_CALLDEVICE;
+ } else {
+ return err;
+ }
} catch (Exception ignored) {
if (status == ErrorCode.ERR_OK.getCode()) {
return ErrorCode.ERR_OK;
diff --git a/src/main/java/com/pengxin/dispose/protocol/PengXinInterface.java b/src/main/java/com/pengxin/dispose/protocol/PengXinInterface.java
index 5d8c3387..39396b83 100644
--- a/src/main/java/com/pengxin/dispose/protocol/PengXinInterface.java
+++ b/src/main/java/com/pengxin/dispose/protocol/PengXinInterface.java
@@ -97,7 +97,13 @@ public class PengXinInterface {
}
try {
- return CommonEnumHandler.codeOf(ErrorCode.class, rspInfo.getCode());
+ ErrorCode err = CommonEnumHandler.codeOf(ErrorCode.class, rspInfo.getCode());
+
+ if (err == null) {
+ return ErrorCode.ERR_CALLDEVICE;
+ } else {
+ return err;
+ }
} catch (Exception ignored) {
if (rspInfo.getCode() == ErrorCode.ERR_OK.getCode()) {
return ErrorCode.ERR_OK;