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

Make server uninstaller exit with non-zero exit status during failed validation #98

Closed
wants to merge 2 commits into from

Conversation

martbab
Copy link
Contributor

@martbab martbab commented Sep 20, 2016

Martin Babinsky added 2 commits September 20, 2016 15:12
installer framework has been modified to allow for different error handling
during validation and execution phases.

https://fedorahosted.org/freeipa/ticket/5725
`common.Continuous` class is a basis for uninstallers, which should execute
all the steps regardless of occuring errors. However, we would like the
installer to raise exceptions and return non-zero exit code during validation
phase when some preconditions are not met.

Add a separate exception handler which catches exceptions and logs them as
errors during execution phase only.

https://fedorahosted.org/freeipa/ticket/5725
@pspacek pspacek self-assigned this Sep 24, 2016
@pspacek pspacek added the ack Pull Request approved, can be merged label Sep 24, 2016
@pspacek
Copy link
Contributor

pspacek commented Sep 24, 2016

Works for me!

@MartinBasti MartinBasti added the pushed Pull Request has already been pushed label Sep 26, 2016
@martbab martbab deleted the uninstaller-fix branch September 29, 2016 06:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ack Pull Request approved, can be merged pushed Pull Request has already been pushed
Projects
None yet
3 participants