|
@@ -46,7 +46,7 @@ public class RequestValidateExceptionHandler {
|
|
|
return RespVOBuilder.error(error.toString());
|
|
|
}
|
|
|
|
|
|
- @ExceptionHandler(BindException.class)
|
|
|
+ @ExceptionHandler(Exception.class)
|
|
|
public RespVO otherExceptionHandler(Exception e) {
|
|
|
logger.error("服务出错",e);
|
|
|
return RespVOBuilder.error("服务出错");
|