diff options
author | Martin Babinsky <mbabinsk@redhat.com> | 2016-09-20 15:15:50 +0200 |
---|---|---|
committer | Martin Basti <mbasti@redhat.com> | 2016-09-26 18:38:37 +0200 |
commit | f7764cda6824a2fe73abe11f6daa28758a185319 (patch) | |
tree | fe3061ac5636112dcae8c560dca5907e63a7ea0c /ipapython/install/cli.py | |
parent | 347f5ca0e145491d387f60f95b67ef59e7c28316 (diff) | |
download | freeipa-f7764cda6824a2fe73abe11f6daa28758a185319.tar.gz freeipa-f7764cda6824a2fe73abe11f6daa28758a185319.tar.xz freeipa-f7764cda6824a2fe73abe11f6daa28758a185319.zip |
Make Continuous installer continuous only during execution phase
`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
Reviewed-By: Petr Spacek <pspacek@redhat.com>
Diffstat (limited to 'ipapython/install/cli.py')
0 files changed, 0 insertions, 0 deletions