Respond to CR.

// FREEBIE
This commit is contained in:
Matthew Chen 2017-04-10 12:35:30 -04:00
parent 8258f26aec
commit 004a952bc0

View file

@ -148,6 +148,8 @@ NSUInteger const OWSSendMessageOperationMaxRetries = 4;
return;
}
[strongSelf.messageSender saveMessage:strongSelf.message withError:error];
DDLogDebug(@"%@ failed with error: %@", strongSelf.tag, error);
aFailureHandler(error);
[strongSelf markAsComplete];
@ -237,8 +239,6 @@ NSUInteger const OWSSendMessageOperationMaxRetries = 4;
} else {
DDLogWarn(@"%@ Too many failures. Giving up sending.", self.tag);
[self.messageSender saveMessage:self.message withError:error];
self.failureHandler(error);
}
};