From 3ee7c551e90b03f783b99f6dbeabcdb2f68d6d04 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Wed, 24 Jun 2015 11:30:05 +0100 Subject: [PATCH] Logging --- synapse/crypto/keyring.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/synapse/crypto/keyring.py b/synapse/crypto/keyring.py index 54a9c056af..87a45e3713 100644 --- a/synapse/crypto/keyring.py +++ b/synapse/crypto/keyring.py @@ -237,11 +237,12 @@ class Keyring(object): ) defer.returnValue(result) except Exception as e: - logger.info( + logger.exception( "Unable to get key from %r: %s %s", perspective_name, type(e).__name__, str(e.message), ) + defer.returnValue({}) results = yield defer.gatherResults( [