From 0b9f64faef0ba9c5cf2a9efe485794ef9b999fab Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Wed, 16 Sep 2015 11:04:33 +0200 Subject: [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 --- src/leap/keymanager/__init__.py | 1 + 1 file changed, 1 insertion(+) 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)) -- cgit v1.2.3