Explorar o código

Add error logging when reading user profile from server

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger %!s(int64=4) %!d(string=hai) anos
pai
achega
02a129c3fc

+ 2 - 0
app/src/main/java/com/nextcloud/talk/controllers/ProfileController.java

@@ -194,6 +194,7 @@ public class ProfileController extends BaseController {
 
                                 @Override
                                 public void onError(@io.reactivex.annotations.NonNull Throwable e) {
+                                    Log.e(TAG, "Error loading editable user profile from server", e);
                                     edit = false;
                                 }
 
@@ -365,6 +366,7 @@ public class ProfileController extends BaseController {
 
                         @Override
                         public void onError(@io.reactivex.annotations.NonNull Throwable e) {
+                            Log.e(TAG, "Error loading editable user profile from server", e);
                             edit = false;
                         }