Commit 74f576fb by 111-PC\111

[+]pulsar消费服务

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