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

Always show underlying error when fetching specs fails #4061

Merged
merged 3 commits into from Nov 16, 2020

Conversation

deivid-rodriguez
Copy link
Member

What was the end-user or developer problem that led to this PR?

When network failures happen, errors could be more helpful.

What is your fix for the problem, implemented in this PR?

Include the underlying network error in the default output.

Fixes #3805.

Make sure he following tasks are checked

`OpenSSL::SSL::SSLError` and `Net::HTTPFatalError` should never be
raised here.
The one that failed to be fetched.
@deivid-rodriguez deivid-rodriguez merged commit 1fa4ee3 into master Nov 16, 2020
@deivid-rodriguez deivid-rodriguez deleted the better_http_errors branch November 16, 2020 17:12
deivid-rodriguez added a commit that referenced this pull request Dec 7, 2020
Always show underlying error when fetching specs fails

(cherry picked from commit 1fa4ee3)
deivid-rodriguez added a commit that referenced this pull request Dec 7, 2020
Always show underlying error when fetching specs fails

(cherry picked from commit 1fa4ee3)
deivid-rodriguez added a commit that referenced this pull request Dec 7, 2020
Always show underlying error when fetching specs fails

(cherry picked from commit 1fa4ee3)
deivid-rodriguez added a commit that referenced this pull request Dec 7, 2020
Always show underlying error when fetching specs fails

(cherry picked from commit 1fa4ee3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bundler::HTTPError does not say what the error was
2 participants