Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Make downloads fail better #48

Merged
merged 3 commits into from Mar 18, 2014
Merged

Make downloads fail better #48

merged 3 commits into from Mar 18, 2014

Conversation

townxelliot
Copy link
Contributor

  • Time out requests to the download site after 10 seconds
  • Clean up output file if download fails (e.g. timeout happens, URL is bad)
  • Clean up output file if download is interrupted (Ctrl+C on the console etc.)

Fixes #22

townxelliot added a commit that referenced this pull request Mar 18, 2014
@townxelliot townxelliot merged commit b62e401 into master Mar 18, 2014
@townxelliot townxelliot deleted the dl-fail-better-22 branch March 20, 2014 15:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[downloader] Failed download is not reported and leaves behind a bogus output file
1 participant