|
@@ -25,7 +25,7 @@ public class GlobalExceptionHandler {
|
|
|
@ExceptionHandler(value = Exception.class)
|
|
|
public BaseResponse<Object> exceptionHandler(Exception e) {
|
|
|
logger.error("未知异常!原因是:" + e);
|
|
|
- return RespGenerstor.fail(BaseErrorEnum.INTERNAL_SERVER_ERROR,e.getMessage());
|
|
|
+ return RespGenerstor.fail(BaseErrorEnum.INTERNAL_SERVER_ERROR,"");
|
|
|
}
|
|
|
|
|
|
}
|