mirror of
https://gitee.com/wangkang/udf.git
synced 2026-10-25 20:03:41 +00:00
更新异常处理方式
This commit is contained in:
+1
-1
@@ -72,7 +72,7 @@ public class ExceptionHandle extends ResponseEntityExceptionHandler {
|
||||
throw new SystemRuntimeException(e);
|
||||
}
|
||||
}
|
||||
return super.handleExceptionInternal(ex, new RestResponse<>(status, errorResult), headers, localHttpStatus, request);
|
||||
return super.handleExceptionInternal(ex, new RestResponse<>(localHttpStatus, errorResult), headers, localHttpStatus, request);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user