summaryrefslogtreecommitdiff
path: root/keymanager/src
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
commit2deddc1dcb408e14106c425ddc2cbd656d9bf7af (patch)
tree83c06dc0912959220b85573b3735e6e0fad0033e /keymanager/src
parent1e00141ad6c032ca07d3c0e0e75ee8baeef350d6 (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
Diffstat (limited to 'keymanager/src')
-rw-r--r--keymanager/src/leap/keymanager/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/keymanager/src/leap/keymanager/__init__.py b/keymanager/src/leap/keymanager/__init__.py
index c4534e5..cf43004 100644
--- a/keymanager/src/leap/keymanager/__init__.py
+++ b/keymanager/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))