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

Handle network exceptions when accessing egg URL #3588

Merged
merged 0 commits into from
Nov 10, 2022

Conversation

mhuth
Copy link
Contributor

@mhuth mhuth commented Nov 9, 2022

Signed-off-by: Mark Huth [email protected]

All Pull Requests:

Check all that apply:

  • Have you followed the guidelines in our Contributing document, including the instructions about commit messages?
  • Is this PR to correct an issue?
  • Is this PR an enhancement

This PR is for more gracefully handling network exceptions if there is a problem accessing/downloading the egg URL. Its to better handle the error shown in https://bugzilla.redhat.com/show_bug.cgi?id=2107323. It doesn't actually have anything to do with retrying downloads because --retry only applies to uploads.

Logs before PR (unhandled exceptions and tracebacks):
Screenshot from 2022-11-09 14-41-15

Logs after PR (helpful error messages and graceful failure):
Screenshot from 2022-11-09 14-39-18

@mhuth mhuth requested review from Glutexo, ahitacat and subpop November 9, 2022 04:46
@mhuth mhuth force-pushed the more_network_exception_handling branch from e98d594 to 5dc955f Compare November 9, 2022 06:28
@xiangce xiangce added the client These issues represent work to be done by the "client" team. label Nov 9, 2022
Copy link
Collaborator

@subpop subpop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mhuth
Copy link
Contributor Author

mhuth commented Nov 9, 2022

@xiangce are you able to merge this for me please? I don't have permission to do so.

@xiangce xiangce merged commit 0a0753d into master Nov 10, 2022
@xiangce xiangce deleted the more_network_exception_handling branch November 10, 2022 00:45
xiangce pushed a commit that referenced this pull request Nov 10, 2022
Signed-off-by: Mark Huth <[email protected]>
(cherry picked from commit 0a0753d)
xiangce pushed a commit that referenced this pull request Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client These issues represent work to be done by the "client" team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants