alcatraz / Alcatraz

Package manager for Xcode
alcatraz.io
MIT License
9.87k stars 1.15k forks source link

ATZDownloader error handling #482

Open guillaumealgis opened 8 years ago

guillaumealgis commented 8 years ago

As discussed in https://github.com/alcatraz/Alcatraz/issues/479, we didn't handle errors very well in ATZDownloader.

My intuition is that we're not handling network errors well. So you probably had an error when Alcatraz downloaded the gif (which is quite large), and we cached it anyway.

This PR fixes that, and should somewhat improve performances (see below):