From e8d4f6dba1743389962e9d51871a88dc384840ec Mon Sep 17 00:00:00 2001 From: Martin Babinsky Date: Mon, 16 Mar 2015 12:36:25 +0100 Subject: [PATCH] show the exception message thrown by dogtag._parse_ca_status during install https://fedorahosted.org/freeipa/ticket/4885 Reviewed-By: Martin Basti Reviewed-By: Fraser Tweedale --- ipaplatform/redhat/services.py | 4 ++-- 1 file 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