From 4d69f7bd47b8f63cd0afd082658d5e22323178b7 Mon Sep 17 00:00:00 2001 From: yinzuomei <576302893@qq.com> Date: Mon, 3 Aug 2020 15:10:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9handleRRException?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/epmet/commons/tools/exception/RenExceptionHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/epmet-commons/epmet-commons-tools/src/main/java/com/epmet/commons/tools/exception/RenExceptionHandler.java b/epmet-commons/epmet-commons-tools/src/main/java/com/epmet/commons/tools/exception/RenExceptionHandler.java index 4495417421..5debad3823 100644 --- a/epmet-commons/epmet-commons-tools/src/main/java/com/epmet/commons/tools/exception/RenExceptionHandler.java +++ b/epmet-commons/epmet-commons-tools/src/main/java/com/epmet/commons/tools/exception/RenExceptionHandler.java @@ -54,12 +54,12 @@ public class RenExceptionHandler { */ @ExceptionHandler(RenException.class) public Result handleRRException(RenException ex){ - logger.error(ExceptionUtils.getErrorStackTrace(ex)); if (ex.getCode() > 8000) { Result result=new Result().error(ex.getCode()); result.setData(ex.getMsg()); return result; } + logger.error(ExceptionUtils.getErrorStackTrace(ex)); Result result=new Result().error(); result.setData(ex.getMsg()); return result;