mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-26 16:16:31 -06:00
ipactl restart: log httplib failues as debug
There are several excerptions ConnectionRefusedError raised before ipactl is able to connect to dogtag after restart. These exception should be logged on debug level until timeout is reached. https://fedorahosted.org/freeipa/ticket/6674 Reviewed-By: Stanislav Laznicka <slaznick@redhat.com> Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
parent
b3c41f21e5
commit
53c8e9a53f
@ -209,7 +209,7 @@ def _httplib_request(
|
||||
http_body = res.read()
|
||||
conn.close()
|
||||
except Exception as e:
|
||||
root_logger.exception("httplib request failed:")
|
||||
root_logger.debug("httplib request failed:", exc_info=True)
|
||||
raise NetworkError(uri=uri, error=str(e))
|
||||
|
||||
root_logger.debug('response status %d', http_status)
|
||||
|
Loading…
Reference in New Issue
Block a user