|
@@ -485,7 +485,13 @@ public class MonitorIndicatorRecordServiceImpl implements IMonitorIndicatorRecor
|
|
|
configItemSendTimeDTO.setUpdateTime(new Date());
|
|
|
updateRedisConfigItemSendTimeDTO(projectDTO.getProjectId(), objIdAndAlarmItemCode, configItemSendTimeDTO);
|
|
|
// 发数
|
|
|
- rabbitConfig.sendMsg(sendArray);
|
|
|
+
|
|
|
+ try {
|
|
|
+ rabbitConfig.sendMsg(sendArray);
|
|
|
+ } catch (Exception e) {
|
|
|
+ e.printStackTrace();
|
|
|
+ log.error("指标发送报表服务报错:" + projectDTO.getProjectId() + ";" + CommonUtils.getExceptionStackTrace(e));
|
|
|
+ }
|
|
|
log.error("指标发送报表服务数据:" + projectDTO.getProjectId() + ";" + sendArray);
|
|
|
}
|
|
|
}
|