|
@@ -19,7 +19,7 @@ public class GlobalExceptionHandler {
|
|
|
@ExceptionHandler(value = NullPointerException.class)
|
|
|
public BaseResponse<Object> exceptionHandler(NullPointerException e) {
|
|
|
logger.error("发生空指针异常!原因是:" + e);
|
|
|
- return RespGenerstor.fail(BaseErrorEnum.BODY_NOT_MATCH,e);
|
|
|
+ return RespGenerstor.fail(BaseErrorEnum.BODY_NOT_MATCH,"");
|
|
|
}
|
|
|
|
|
|
@ExceptionHandler(value = Exception.class)
|