feat: 首次提交NBA项目
This commit is contained in:
@@ -7,6 +7,7 @@ import org.springframework.web.bind.annotation.RestControllerAdvice;
|
||||
public class GlobalException {
|
||||
@ExceptionHandler(Exception.class)
|
||||
public Object handleException(Exception e) {
|
||||
//e.printStackTrace();
|
||||
e.printStackTrace();
|
||||
return e.getMessage();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user