Commit 74f576fb by 111-PC\111

[+]pulsar消费服务

1 parent 95f1a042
...@@ -44,7 +44,7 @@ public class DeviceService { ...@@ -44,7 +44,7 @@ public class DeviceService {
log.info("设备id{}保存更新结果{}", deviceVo.getDeviceId(), responseBody); log.info("设备id{}保存更新结果{}", deviceVo.getDeviceId(), responseBody);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
log.info("设备id{}保存更新异常,{}", deviceVo.getDeviceId(), e); log.info("设备id{}保存更新异常,{}", deviceVo.getDeviceId(), e.getMessage());
} }
} }
...@@ -74,7 +74,7 @@ public class DeviceService { ...@@ -74,7 +74,7 @@ public class DeviceService {
log.info("设备id{}名称查询结果{}",devId, name); log.info("设备id{}名称查询结果{}",devId, name);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
log.info("设备id{}名称查询结果{}", devId, e); log.info("设备id{}名称查询结果{}", devId, e.getMessage());
} }
return name; return name;
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!