fixup double failure

pull/1/head
Michael Kirk 7 years ago
parent 9293eb96f7
commit 0db339b849

@ -100,10 +100,12 @@ class LegacyContactDiscoveryBatchOperation: OWSOperation {
return return
} }
if (response.statusCode == 413) { guard response.statusCode != 413 else {
let rateLimitError = OWSErrorWithCodeDescription(OWSErrorCode.contactsUpdaterRateLimit, "Contacts Intersection Rate Limit") let rateLimitError = OWSErrorWithCodeDescription(OWSErrorCode.contactsUpdaterRateLimit, "Contacts Intersection Rate Limit")
self.reportError(rateLimitError) self.reportError(rateLimitError)
return
} }
self.reportError(error) self.reportError(error)
}) })

Loading…
Cancel
Save