summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2016-11-01 11:44:33 -0200
committerdrebs <drebs@riseup.net>2016-11-06 14:21:00 -0200
commitb815b0958973d10f12df45fb8e9e501deb377a24 (patch)
treeb12b8308bd32de3d8a25e92246959b93f03f09e0 /src
parentd90aa43945a304efdf632ace329c2b8c9aea2377 (diff)
[bug] properly format failure for logging on errback
Diffstat (limited to 'src')
-rw-r--r--src/leap/bitmask/core/mail_services.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/bitmask/core/mail_services.py b/src/leap/bitmask/core/mail_services.py
index e2a79b5..183477a 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
# --------------------------------------------------------------------