From 6d0ddcd0ebfa8e17ecd0403f055e89b82c68cf41 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Fri, 14 May 2021 16:04:26 +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