Skip to content

Commit 73e3256

Browse files
committed
ECWID-144513 startersite error Caused by IllegalStateException: Expected but was STRING at line column path at JsonReader.beginObject(JsonReader.java:) - reword
1 parent 79e163d commit 73e3256

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/kotlin/com/ecwid/apiclient/v3/ApiClientHelper.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ class ApiClientHelper private constructor(
196196
try {
197197
val responseBody = responseBytes.asString()
198198
logErrorResponseIfNeeded(requestId, requestTime, httpResponse.statusCode, responseBody)
199-
// Because of a html-based balancer error we must check responseBody string to be an actual json object
199+
// Because of a html-based balancer error we should check responseBody string to be an actual json object
200200
val ecwidError = if (responseBody.isNotBlank() && responseBody.startsWith("{")) {
201201
jsonTransformer.deserialize(responseBody, EcwidApiError::class.java)
202202
} else {

0 commit comments

Comments
 (0)