diff --git a/scfs-api-core/src/main/java/com/czcb/scfs/api/core/http/HttpResponse.java b/scfs-api-core/src/main/java/com/czcb/scfs/api/core/http/HttpResponse.java index b09731c..38cf143 100644 --- a/scfs-api-core/src/main/java/com/czcb/scfs/api/core/http/HttpResponse.java +++ b/scfs-api-core/src/main/java/com/czcb/scfs/api/core/http/HttpResponse.java @@ -100,7 +100,7 @@ public class HttpResponse { 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); } } }