From b815b0958973d10f12df45fb8e9e501deb377a24 Mon Sep 17 00:00:00 2001 From: drebs Date: Tue, 1 Nov 2016 11:44:33 -0200 Subject: [bug] properly format failure for logging on errback --- src/leap/bitmask/core/mail_services.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/leap') diff --git a/src/leap/bitmask/core/mail_services.py b/src/leap/bitmask/core/mail_services.py index e2a79b54..183477af 100644 --- a/src/leap/bitmask/core/mail_services.py +++ b/src/leap/bitmask/core/mail_services.py @@ -702,7 +702,7 @@ class IncomingMailService(service.MultiService): d = acc.callWhenReady( lambda _: acc.get_collection_by_mailbox(INBOX_NAME)) d.addCallback(setUpIncomingMail) - d.addErrback(logger.error) + d.addErrback(lambda r: logger.error(str(r))) return d # -------------------------------------------------------------------- -- cgit v1.2.3