mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Don't log message send errors.
This commit is contained in:
parent
ddf14250da
commit
b067d81017
|
@ -206,7 +206,7 @@ NSUInteger const OWSSendMessageOperationMaxRetries = 4;
|
|||
|
||||
[strongSelf.message updateWithSendingError:error];
|
||||
|
||||
DDLogDebug(@"%@ failed with error: %@", strongSelf.logTag, error);
|
||||
DDLogDebug(@"%@ failed with error.", strongSelf.logTag);
|
||||
aFailureHandler(error);
|
||||
|
||||
[strongSelf markAsComplete];
|
||||
|
@ -262,7 +262,7 @@ NSUInteger const OWSSendMessageOperationMaxRetries = 4;
|
|||
onceFlag = YES;
|
||||
|
||||
if (![error isRetryable] || [error isFatal]) {
|
||||
DDLogInfo(@"%@ Skipping retry due to terminal error: %@", self.logTag, error);
|
||||
DDLogInfo(@"%@ Skipping retry due to terminal error.", self.logTag);
|
||||
self.failureHandler(error);
|
||||
return;
|
||||
}
|
||||
|
@ -1028,7 +1028,7 @@ NSString *const OWSMessageSenderRateLimitedException = @"RateLimitedException";
|
|||
});
|
||||
}
|
||||
failure:^(NSURLSessionDataTask *task, NSError *error) {
|
||||
DDLogInfo(@"%@ sending to recipient: %@, failed with error: %@", self.logTag, recipient.uniqueId, error);
|
||||
DDLogInfo(@"%@ sending to recipient: %@, failed with error.", self.logTag, recipient.uniqueId);
|
||||
[DDLog flushLog];
|
||||
|
||||
NSHTTPURLResponse *response = (NSHTTPURLResponse *)task.response;
|
||||
|
|
Loading…
Reference in a new issue