From 511f49a3ef8d454d0f65ec41b723d2a3b7d6e314 Mon Sep 17 00:00:00 2001 From: zainali5120 <512061637@qq.com> Date: Wed, 12 May 2021 16:34:05 +0800 Subject: [PATCH] 优化波场同步区块为一分钟往队列放入一次区块号列表 --- src/main/java/com/xcong/excoin/common/aop/ExceptionCatchAspect.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/xcong/excoin/common/aop/ExceptionCatchAspect.java b/src/main/java/com/xcong/excoin/common/aop/ExceptionCatchAspect.java index 4fe1e56..2a39a9f 100644 --- a/src/main/java/com/xcong/excoin/common/aop/ExceptionCatchAspect.java +++ b/src/main/java/com/xcong/excoin/common/aop/ExceptionCatchAspect.java @@ -72,13 +72,13 @@ exceptionData.setExceptionMsg(exStr); exceptionData.setSimpleMsg(ex.getMessage()); sysExceptionDetailDao.insert(exceptionData); + + DingTalkUtils.sendMsg(profiles + "--" + ex.getMessage(), exStr.substring(0, 200), exceptionData.getId()); } catch (Exception e) { - log.error("exception aop"); + log.error("exception aop", e); } } }); - - DingTalkUtils.sendMsg(profiles + "--" + ex.getMessage(), exStr.substring(0, 200), exceptionData.getId()); throw ex; } -- Gitblit v1.9.1