Update PushSystemUsage.java

application-manager-new
buddhi nipun mihara 9 years ago
parent 52712e1b2e
commit 7407298ca4

@ -59,11 +59,11 @@ public class PushSystemUsage {
System.out.println(output); System.out.println(output);
JSONObject outputjson= new JSONObject(output); JSONObject outputjson= new JSONObject(output);
if (response.getStatus() != 200 || outputjson ==null || !outputjson.getBoolean("success")) { if (response.getStatus() != 200 || outputjson ==null || !outputjson.getBoolean("success")) {
throw new RuntimeException("Failed : HTTP error code : " + response.getStatus()); // throw new RuntimeException("Failed : HTTP error code : " + response.getStatus());
} }
} }
catch (Exception e) { catch (Exception e) {
throw e; // throw e;
} }
} }
} }

Loading…
Cancel
Save