Browse Source

Merge pull request #5835 from nextcloud/ezaquarii/contacts-import-log-whole-exception

Log exception in ContactsImportWork catch block
Andy Scherzinger 5 years ago
parent
commit
4914f4ec42
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/nextcloud/client/jobs/ContactsImportWork.kt

+ 1 - 1
src/main/java/com/nextcloud/client/jobs/ContactsImportWork.kt

@@ -100,7 +100,7 @@ class ContactsImportWork(
                 }
                 }
             }
             }
         } catch (e: Exception) {
         } catch (e: Exception) {
-            logger.e(TAG, "${e.message}")
+            logger.e(TAG, "${e.message}", e)
         } finally {
         } finally {
             cursor?.close()
             cursor?.close()
         }
         }