feat: json解析异常抛出数据详情
parent
aea762eedc
commit
3adc99b701
|
|
@ -100,7 +100,7 @@ public class HttpResponse<T> {
|
|||
return new HttpResponse<>(originalResponse.getHttpRequest(), originalResponse.getHttpHeaders(),
|
||||
responseBody, serviceResponse, originalBody);
|
||||
} catch (JsonSyntaxException e) {
|
||||
throw new ApiClientException("解析JSON数据失败", e);
|
||||
throw new ApiClientException(String.format("解析JSON数据失败:%s", Strings.toStr(originalResponse.getBody())), e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue