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

fix: add generic error msg for unknown source errors #645

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

Alex-Izquierdo
Copy link
Contributor

This is a little enhancement when the source plugin fails and raises an exception without message.
Also extends the source plugin development guide.
Related with https://issues.redhat.com/browse/AAP-19598

@Alex-Izquierdo Alex-Izquierdo requested review from a team, mkanoor and bzwei January 17, 2024 21:18
@mkanoor
Copy link
Contributor

mkanoor commented Jan 17, 2024

@Alex-Izquierdo It might make sense to add some tests for this with some local sources with builtin failures to see how they get reported.

@Alex-Izquierdo
Copy link
Contributor Author

@mkanoor added tests

mkanoor
mkanoor previously approved these changes Jan 18, 2024
@Alex-Izquierdo
Copy link
Contributor Author

Solved a merge conflict

@bzwei
Copy link
Contributor

bzwei commented Jan 29, 2024

@Alex-Izquierdo should we rename range_exception to a generic name since it has nothing to do with range?

@Alex-Izquierdo
Copy link
Contributor Author

Hi @bzwei renamed to "source_with_exception" as we agreed.

@Alex-Izquierdo Alex-Izquierdo requested review from hsong-rh and a team September 2, 2024 14:15
Copy link

sonarcloud bot commented Sep 2, 2024

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.

3 participants