summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ipalib/rpc.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/ipalib/rpc.py b/ipalib/rpc.py
index 16ffb8b54..499ddeb02 100644
--- a/ipalib/rpc.py
+++ b/ipalib/rpc.py
@@ -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