Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad error when downloading bogus versions #390

Closed
brson opened this issue Apr 30, 2016 · 2 comments
Closed

Bad error when downloading bogus versions #390

brson opened this issue Apr 30, 2016 · 2 comments

Comments

@brson
Copy link
Contributor

brson commented Apr 30, 2016

1 brian@ip-10-235-20-183:/mnt/dev/hello⟫ rustup update 1.0.0-alpha
info: syncing channel updates for '1.0.0-alpha'
info: downloading component 'rust'
error: could not download file from 'https://static.rust-lang.org/dist/rust-1.0.0-alpha.tar.gz.sha256' to '/home/brian/dev/.multirust/tmp/3ujwchag_1tpheuu_file
info: caused by: Status: 404 Not Found

This should say something more like "no release found for X".

@brson
Copy link
Contributor Author

brson commented May 7, 2016

This should be easy. Just detect the Download404 error on this code path, then call chain_err on it to give it a more useful message.

@cramertj
Copy link
Member

I missed this at the time but saw it pop up in "This Week in Rust." I'd like to give it a shot, if possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants