Bläddra i källkod

log error if adding a contact id to a group failed instead of terminating the whole app

cyberta 5 år sedan
förälder
incheckning
0dc60d70e1
1 ändrade filer med 1 tillägg och 2 borttagningar
  1. 1 2
      deltachat-ios/Controller/GroupNameController.swift

+ 1 - 2
deltachat-ios/Controller/GroupNameController.swift

@@ -38,8 +38,7 @@ class GroupNameController: UITableViewController {
             if success == 1 {
                 logger.info("successfully added \(contactId) to group \(groupName)")
             } else {
-                // FIXME:
-                fatalError("failed to add \(contactId) to group \(groupName)")
+                logger.error("failed to add \(contactId) to group \(groupName)")
             }
         }