Commit 91b5ddff by 丁伟峰

for test

1 parent 0001cfe8
......@@ -17,7 +17,7 @@ import java.util.stream.Collectors;
@RestControllerAdvice
public class GlobalExceptionHandler {
@ExceptionHandler(value = {BindException.class, ValidationException.class, MethodArgumentNotValidException.class})
@ExceptionHandler(value = {BindException.class, ValidationException.class, MethodArgumentNotValidException.class, Exception.class})
public Result<?> handleValidatedException(Exception e) {
Result<?> resp = null;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!