购物车为空时报错
This commit is contained in:
@@ -54,7 +54,7 @@ public class GlobalExceptionHandler {
|
||||
@ExceptionHandler(Exception.class)
|
||||
public Response<?> handleException(Exception e) {
|
||||
log.error("系统异常: ", e);
|
||||
return Response.error("系统繁忙,请稍后再试");
|
||||
return Response.error(e.getMessage());
|
||||
}
|
||||
/**
|
||||
* 处理MinIO异常
|
||||
|
||||
Reference in New Issue
Block a user