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

Merged
merged 5 commits into from
Nov 22, 2024

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.

bzwei
bzwei previously approved these changes Jan 29, 2024
@Alex-Izquierdo Alex-Izquierdo requested review from hsong-rh and a team September 2, 2024 14:15
Copy link

sonarqubecloud bot commented Sep 2, 2024

@Alex-Izquierdo Alex-Izquierdo requested a review from bzwei November 22, 2024 14:25
@bzwei
Copy link
Contributor

bzwei commented Nov 22, 2024

@Alex-Izquierdo there are quality issues needed to be addressed.

@Alex-Izquierdo Alex-Izquierdo merged commit efa9ea6 into ansible:main Nov 22, 2024
10 checks passed
zkayyali812 pushed a commit that referenced this pull request Dec 9, 2024
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
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.

5 participants