Skip to content

Commit

Permalink
Merge pull request #15 from shankari/master
Browse files Browse the repository at this point in the history
Ensure that we pass in the status code for easier debugging downstream
  • Loading branch information
shankari authored Apr 18, 2017
2 parents 4e44f22 + 0f39fbe commit cc28c1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/android/CommunicationHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public static String pushGetJSON(Context ctxt, String fullURL,
in.close();
} else {
Log.e(ctxt, R.class.toString(),"Failed to get JSON object");
throw new IOException();
throw new IOException(statusLine.toString());
}
connection.close();
return result;
Expand Down

0 comments on commit cc28c1f

Please sign in to comment.