REM:
1. 增加了设备状态异常时调试信息,定位异常设备
This commit is contained in:
HuangXin 2021-10-22 11:23:46 +08:00
parent bff8db73c9
commit f7c74a6511
1 changed files with 3 additions and 2 deletions

View File

@ -322,8 +322,9 @@ public class PengXinAbilityImpl implements DisposeAbility {
* Dev get link status.
*/
private void devGetLinkStatus() {
String url = urlRootPath + "dispose_device/information/linkstatus";
try {
String url = urlRootPath + "dispose_device/information/linkstatus";
if (token == null || token.length() == 0) {
deviceLinkStatus = false;
@ -344,7 +345,7 @@ public class PengXinAbilityImpl implements DisposeAbility {
return;
} catch (Exception ex) {
log.error(ex.getMessage());
log.error("Exception: {}, {}", url, ex.getMessage());
}
deviceLinkStatus = false;