Do not mark URLs a fail when error is due to missing network connection
This commit is contained in:
parent
75cf6a09ae
commit
b398208beb
|
@ -106,7 +106,10 @@
|
|||
|
||||
if (error)
|
||||
{
|
||||
[self.failedURLs addObject:url];
|
||||
if (error.code != NSURLErrorNotConnectedToInternet)
|
||||
{
|
||||
[self.failedURLs addObject:url];
|
||||
}
|
||||
}
|
||||
else if (downloadedImage && finished)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue