mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -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
40f3b8f8a3
commit
5caade9912
@ -800,7 +800,10 @@ class RPCClient(Connectible):
|
|||||||
session_cookie = Cookie.get_named_cookie_from_string(
|
session_cookie = Cookie.get_named_cookie_from_string(
|
||||||
cookie_string, COOKIE_NAME,
|
cookie_string, COOKIE_NAME,
|
||||||
timestamp=datetime.datetime.utcnow())
|
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 None
|
||||||
|
|
||||||
return session_cookie
|
return session_cookie
|
||||||
|
Loading…
Reference in New Issue
Block a user