Merge remote-tracking branch 'origin/master'

master
anthonyywj2 3 years ago
commit 0f1e4bc2c1

@ -25,7 +25,7 @@ public class GlobalExceptionHandler {
// 拦截API异常
@ExceptionHandler(value = RuntimeException.class)
public BaseResponse handlerRuntimeException(RuntimeException e) {
log.error(e.getMessage());
log.error(e.getMessage(), e);
// 返回对应的错误信息
return ResultVOUtils.error(ResultEnum.NOT_NETWORK);
}

Loading…
Cancel
Save