mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-24 16:10:02 -06:00
Add debug log in case cookie retrieval went wrong
https://pagure.io/freeipa/issue/6774 Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
parent
fd1b4f6ec9
commit
0bb858ea77
@ -849,7 +849,10 @@ class RPCClient(Connectible):
|
||||
session_cookie = Cookie.get_named_cookie_from_string(
|
||||
cookie_string, COOKIE_NAME,
|
||||
timestamp=datetime.datetime.utcnow())
|
||||
except Exception:
|
||||
except Exception as e:
|
||||
self.log.debug(
|
||||
'Error retrieving cookie from the persistent storage: {err}'
|
||||
.format(err=e))
|
||||
return None
|
||||
|
||||
return session_cookie
|
||||
|
Loading…
Reference in New Issue
Block a user