Index: src/XMPPConnection.m ================================================================== --- src/XMPPConnection.m +++ src/XMPPConnection.m @@ -300,17 +300,12 @@ response: (OFDNSResponse *)response exception: (id)exception { OFMutableArray *records = [OFMutableArray array]; - if (exception != nil) { - [_delegates - broadcastSelector: @selector(connection:didThrowException:) - withObject: self - withObject: exception]; - return; - } + if (exception != nil) + response = nil; for (OFDNSResourceRecord *record in [response.answerRecords objectForKey: domainName]) if ([record isKindOfClass: [OFSRVDNSResourceRecord class]]) [records addObject: record];