From 1f4fc013c26134cd145c16c4dc6b0cd067441ece Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Thu, 13 May 2021 18:57:48 +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