From 2deddc1dcb408e14106c425ddc2cbd656d9bf7af 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 --- keymanager/src/leap/keymanager/__init__.py | 1 + 1 file changed, 1 insertion(+) (limited to 'keymanager') 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)) -- cgit v1.2.3