If the server reports no versions available for update process, don't report this as an error

This commit is contained in:
Andreas Linde 2012-08-20 13:28:40 +02:00
parent a0f41065a8
commit 02a215be6d

View File

@ -962,9 +962,7 @@
// server returned empty response? // server returned empty response?
if (![feedArray count]) { if (![feedArray count]) {
[self reportError:[NSError errorWithDomain:kBITUpdateErrorDomain BITHockeyLog(@"WARNING: No versions available for download on HockeyApp.");
code:BITUpdateAPIServerReturnedEmptyResponse
userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"Server returned empty response.", NSLocalizedDescriptionKey, nil]]];
return; return;
} else { } else {
_lastCheckFailed = NO; _lastCheckFailed = NO;