summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2015-09-16 11:04:33 +0200
committerRuben Pollan <meskio@sindominio.net>2015-09-17 23:56:48 +0200
commit0b9f64faef0ba9c5cf2a9efe485794ef9b999fab (patch)
tree7109105201f86b6099b028b8a228f4f29fd6c4b1
parent481c5807ae99575d20fd15a96321103cbcfcdfd2 (diff)
[feat] add logging to fetch_key
In case of failure of fetch_key will be useful to have some logging telling us wich key is fetching. - Related: #7410
-rw-r--r--src/leap/keymanager/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/leap/keymanager/__init__.py b/src/leap/keymanager/__init__.py
index c4534e54..cf430043 100644
--- a/src/leap/keymanager/__init__.py
+++ b/src/leap/keymanager/__init__.py
@@ -779,6 +779,7 @@ class KeyManager(object):
"""
self._assert_supported_key_type(ktype)
+ logger.info("Fetch key for %s from %s" % (address, uri))
res = self._get(uri)
if not res.ok:
return defer.fail(KeyNotFound(uri))