From 0b10fd71ce7a6c32b70eef96f0ceb5a516306d6b Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Mon, 24 May 2021 15:05:01 +0800
Subject: [PATCH] modify

---
 src/main/java/com/xcong/excoin/common/aop/ExceptionCatchAspect.java |    2 +-
 1 files changed, 1 insertions(+), 1 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 c6ceec5..d738caf 100644
--- a/src/main/java/com/xcong/excoin/common/aop/ExceptionCatchAspect.java
+++ b/src/main/java/com/xcong/excoin/common/aop/ExceptionCatchAspect.java
@@ -60,7 +60,7 @@
             throw ex;
         }
 
-        if ("dev".equals(profiles)) {
+        if ("dev".equals(profiles)  || "test".equals(profiles)) {
             throw ex;
         }
 

--
Gitblit v1.9.1