统一异常处理增加 IGNORE_EXCEPTION 的判断

This commit is contained in:
zhaojun
2025-06-21 15:13:45 +08:00
parent ef5057bf41
commit d88de0d5ae
@@ -351,6 +351,9 @@ public class GlobalExceptionHandler {
exceptionMessage.remove();
return AjaxJson.getError(message);
}
} else if (exceptionType == ExceptionType.IGNORE_EXCEPTION) {
// 忽略异常
return null;
}
if (e.getClass() == Exception.class) {