From 99a4103e5b0312b9e7bfec4c97c473930dedf5c2 Mon Sep 17 00:00:00 2001
From: zainali5120 <512061637@qq.com>
Date: Wed, 28 Apr 2021 18:43:54 +0800
Subject: [PATCH] 优化波场同步问题

---
 src/main/java/com/xcong/excoin/common/aop/ExceptionCatchAspect.java |    4 ++--
 1 files changed, 2 insertions(+), 2 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..6db4756 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");
                 }
             }
         });
-
-        DingTalkUtils.sendMsg(profiles + "--" + ex.getMessage(), exStr.substring(0, 200), exceptionData.getId());
         throw ex;
     }
 

--
Gitblit v1.9.1