|
@@ -34,13 +34,13 @@ public class DebugActionMethodExceptionProcess implements ActionMethodExceptionP
|
|
@Override
|
|
@Override
|
|
public MsgException processException(final Throwable e) {
|
|
public MsgException processException(final Throwable e) {
|
|
|
|
|
|
|
|
+ log.error(e.getMessage(), e);
|
|
|
|
+
|
|
if (e instanceof MsgException msgException) {
|
|
if (e instanceof MsgException msgException) {
|
|
- log.error(e.getMessage(), e);
|
|
|
|
return msgException;
|
|
return msgException;
|
|
}
|
|
}
|
|
|
|
|
|
// 到这里,一般不是用户自定义的错误,很可能是开发者引入的第三方包或自身未捕获的错误等情况
|
|
// 到这里,一般不是用户自定义的错误,很可能是开发者引入的第三方包或自身未捕获的错误等情况
|
|
- log.error(e.getMessage(), e);
|
|
|
|
return new MsgException(ActionErrorEnum.systemOtherErrCode);
|
|
return new MsgException(ActionErrorEnum.systemOtherErrCode);
|
|
}
|
|
}
|
|
}
|
|
}
|