int responsecode = http.getResponseCode();
if (responsecode != HttpURLConnection.HTTP_OK) {
// TODO: Remove this print
- System.out.println(responsecode);
+ // System.out.println(responsecode);
throw new Error("Invalid response");
}
} catch (Exception e) {