You've already forked FrameTour-BE
bug修复
This commit is contained in:
@ -62,6 +62,12 @@ public class CustomExceptionHandle {
|
||||
return ApiResponse.buildResponse(bizException.getCode(), bizException.getMsg());
|
||||
}
|
||||
|
||||
@ExceptionHandler(value =IOException.class)
|
||||
public ApiResponse<String> handle(IOException e) {
|
||||
LOGGER.error("系统异常 -> {}", e.getMessage(), e);
|
||||
return ApiResponse.buildResult(BizCodeEnum.SERVER_UNKONWN_ERROR);
|
||||
}
|
||||
|
||||
/**
|
||||
* 异常统一返回处理
|
||||
*/
|
||||
|
Reference in New Issue
Block a user