Browse Source

增加错误日志记录

lixing 3 years ago
parent
commit
ffe0e0c454

+ 2 - 2
src/main/java/com/persagy/service/impl/AlarmHandleServiceImpl.java

@@ -203,9 +203,9 @@ public class AlarmHandleServiceImpl implements AlarmHandleService {
                 } catch (Exception e) {
                     log.error("报警条件解析异常");
                     log.error("触发条件:");
-                    log.error(triggerExp.toString());
+                    log.error(trigger);
                     log.error("恢复条件:");
-                    log.error(endExp.toString());
+                    log.error(end);
                     log.error("参数:");
                     log.error(paramMap.toString());
                 }