diff options
author | Ruben Pollan <meskio@sindominio.net> | 2015-09-16 11:04:33 +0200 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2015-09-17 23:56:48 +0200 |
commit | 0b9f64faef0ba9c5cf2a9efe485794ef9b999fab (patch) | |
tree | 7109105201f86b6099b028b8a228f4f29fd6c4b1 /src/leap/keymanager/__init__.py | |
parent | 481c5807ae99575d20fd15a96321103cbcfcdfd2 (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 'src/leap/keymanager/__init__.py')
-rw-r--r-- | src/leap/keymanager/__init__.py | 1 |
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)) |