Explorar el Código

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

cyberta hace 5 años
padre
commit
0dc60d70e1
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  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)")
             }
         }