Revert some of the socket sending logging.

pull/1/head
Matthew Chen 7 years ago
parent 31d8db57e2
commit b59140cb3f

@ -75,13 +75,6 @@ NSString *const kNSNotification_SocketManagerStateDidChange = @"kNSNotification_
return self;
}
- (void)dealloc
{
DDLogInfo(@"Dealloc: %@", self.class);
[[NSNotificationCenter defaultCenter] removeObserver:self];
}
- (void)didSucceedWithResponseObject:(id _Nullable)responseObject
{
@synchronized(self)
@ -92,8 +85,6 @@ NSString *const kNSNotification_SocketManagerStateDidChange = @"kNSNotification_
self.hasCompleted = YES;
}
DDLogError(@"%@ %s", self.logTag, __PRETTY_FUNCTION__);
OWSAssert(self.success);
OWSAssert(self.failure);
@ -126,7 +117,7 @@ NSString *const kNSNotification_SocketManagerStateDidChange = @"kNSNotification_
self.hasCompleted = YES;
}
DDLogError(@"%@ %s: %zd, %@", self.logTag, __PRETTY_FUNCTION__, statusCode, error);
DDLogError(@"%@ %s didFailWithStatusCode: %zd, %@", self.logTag, __PRETTY_FUNCTION__, statusCode, error);
OWSAssert(self.success);
OWSAssert(self.failure);

Loading…
Cancel
Save