From f895f77bf1b1dce8dd8a5008f809d58f1ab3ee15 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Tue, 11 May 2021 18:28:53 +0800 Subject: [PATCH] modify order usdt profit --- src/main/java/com/xcong/excoin/common/aop/ExceptionCatchAspect.java | 4 ++++ 1 files changed, 4 insertions(+), 0 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 1aaa265..c6ceec5 100644 --- a/src/main/java/com/xcong/excoin/common/aop/ExceptionCatchAspect.java +++ b/src/main/java/com/xcong/excoin/common/aop/ExceptionCatchAspect.java @@ -60,6 +60,10 @@ throw ex; } + if ("dev".equals(profiles)) { + throw ex; + } + SysExceptionDetailEntity exceptionData = new SysExceptionDetailEntity(); String exStr = printStackTraceToString(ex); ThreadPoolUtils.EXECUTOR.execute(new Runnable(){ -- Gitblit v1.9.1