From f7c74a6511dc43433c7ac1d7516c2808cda66459 Mon Sep 17 00:00:00 2001 From: HuangXin Date: Fri, 22 Oct 2021 11:23:46 +0800 Subject: [PATCH] =?UTF-8?q?OCT=20REM:=201.=20=E5=A2=9E=E5=8A=A0=E4=BA=86?= =?UTF-8?q?=E8=AE=BE=E5=A4=87=E7=8A=B6=E6=80=81=E5=BC=82=E5=B8=B8=E6=97=B6?= =?UTF-8?q?=E8=B0=83=E8=AF=95=E4=BF=A1=E6=81=AF=EF=BC=8C=E5=AE=9A=E4=BD=8D?= =?UTF-8?q?=E5=BC=82=E5=B8=B8=E8=AE=BE=E5=A4=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/dispose/ability/impl/PengXinAbilityImpl.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/dispose/ability/impl/PengXinAbilityImpl.java b/src/main/java/com/dispose/ability/impl/PengXinAbilityImpl.java index e48ec3b2..77f7c6f5 100644 --- a/src/main/java/com/dispose/ability/impl/PengXinAbilityImpl.java +++ b/src/main/java/com/dispose/ability/impl/PengXinAbilityImpl.java @@ -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;