mirror of
https://github.com/zfile-dev/zfile.git
synced 2026-09-01 15:30:09 +08:00
统一异常处理增加 IGNORE_EXCEPTION 的判断
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user