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

Error handling when downloading repo metadata (RhBug:1594121) #661

Merged
merged 2 commits into from Jan 11, 2019

Conversation

pkratoch
Copy link
Contributor

No description provided.

The callback is already set for failures for individual mirrors of mirrorlists,
this adds the same for single urls.

Resolves:
https://bugzilla.redhat.com/show_bug.cgi?id=1594121
https://bugzilla.redhat.com/show_bug.cgi?id=1515848
As a result, the message that is raised to dnf is "Failed to synchronize cache
for repo..." and the original error is just logged as debug, instead of raising
the original error directly.
@j-mracek
Copy link
Member

All tests passed

@j-mracek j-mracek merged commit bd0c5e5 into rpm-software-management:master Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants