Browse Source

fix exception handling (networkonmainthread failed before)

David Luhmer 6 years ago
parent
commit
80582657f0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/nextcloud/android/sso/InputStreamBinder.java

+ 1 - 1
src/main/java/com/nextcloud/android/sso/InputStreamBinder.java

@@ -111,7 +111,7 @@ public class InputStreamBinder extends IInputStreamService.Stub {
             NextcloudRequest request = deserializeObjectAndCloseStream(is);
             httpStream = processRequest(request);
         } catch (Exception e) {
-            Log_OC.e(TAG, e.getMessage());
+            Log_OC.e(TAG, e.toString());
             exception = e;
         }