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;