diff --git a/app/src/main/java/com/example/notifyservice/GetRequest.java b/app/src/main/java/com/example/notifyservice/GetRequest.java index bcaf82d..5f8edfe 100644 --- a/app/src/main/java/com/example/notifyservice/GetRequest.java +++ b/app/src/main/java/com/example/notifyservice/GetRequest.java @@ -47,11 +47,12 @@ public class GetRequest { protected void onGetExecute(String result) { try { + Log.i("GET", result); callback.onGetResponse((new JSONObject( result ))); } catch (Exception e) { - Log.i("Exception", e.toString()); // STATIC + Log.i("ExceptionGET", e.toString()); // STATIC } } diff --git a/app/src/main/java/com/example/notifyservice/PostRequest.java b/app/src/main/java/com/example/notifyservice/PostRequest.java index 339b65c..c938cd6 100644 --- a/app/src/main/java/com/example/notifyservice/PostRequest.java +++ b/app/src/main/java/com/example/notifyservice/PostRequest.java @@ -63,13 +63,14 @@ public class PostRequest { protected void onPostExecute(String result) { try { + Log.i("POST", result); callback.onPostResponse((new JSONObject( Encryption.aesDecrypt( result ) ))); } catch (Exception e) { - Log.i("Exception", e.toString()); // STATIC + Log.i("POSTException", e.toString()); // STATIC } }