diff options
author | Martin Babinsky <mbabinsk@redhat.com> | 2015-03-16 12:36:25 +0100 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2015-03-26 14:46:56 +0100 |
commit | e8d4f6dba1743389962e9d51871a88dc384840ec (patch) | |
tree | 6733a0090a267e82adc1a40740ec348d9f86e061 /ipaplatform/redhat | |
parent | 5a5e1a2494e4aa2cae57d8188de73f5035362638 (diff) | |
download | freeipa-e8d4f6dba1743389962e9d51871a88dc384840ec.tar.gz freeipa-e8d4f6dba1743389962e9d51871a88dc384840ec.tar.xz freeipa-e8d4f6dba1743389962e9d51871a88dc384840ec.zip |
show the exception message thrown by dogtag._parse_ca_status during install
https://fedorahosted.org/freeipa/ticket/4885
Reviewed-By: Martin Basti <mbasti@redhat.com>
Reviewed-By: Fraser Tweedale <ftweedal@redhat.com>
Diffstat (limited to 'ipaplatform/redhat')
-rw-r--r-- | ipaplatform/redhat/services.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipaplatform/redhat/services.py b/ipaplatform/redhat/services.py index 8759cab76..c9994e409 100644 --- a/ipaplatform/redhat/services.py +++ b/ipaplatform/redhat/services.py @@ -212,8 +212,8 @@ class RedHatCAService(RedHatService): status = dogtag._parse_ca_status(stdout) # end of workaround - except Exception: - status = 'check interrupted' + except Exception as e: + status = 'check interrupted due to error: %s' % e root_logger.debug('The CA status is: %s' % status) if status == 'running': break |