Skip to content

Commit 27bf7cf

Browse files
fix comment (#1920)
1 parent 85c25d7 commit 27bf7cf

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/main/java/com/stripe/net/LiveStripeResponseGetter.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,8 +293,6 @@ private void handleError(StripeResponse response, ApiMode apiMode) throws Stripe
293293
OAuth errors are JSON objects where `error` is a string. In
294294
contrast, in API errors, `error` is a hash with sub-keys. We use
295295
this property to distinguish between OAuth and API errors.
296-
297-
Try to read the response body to see if it must be
298296
*/
299297
JsonObject responseBody = ApiResource.GSON.fromJson(response.body(), JsonObject.class);
300298
if (responseBody.has("error") && responseBody.get("error").isJsonPrimitive()) {

0 commit comments

Comments
 (0)