diff options
author | drebs <drebs@riseup.net> | 2016-11-01 11:44:33 -0200 |
---|---|---|
committer | drebs <drebs@riseup.net> | 2016-11-06 14:21:00 -0200 |
commit | b815b0958973d10f12df45fb8e9e501deb377a24 (patch) | |
tree | b12b8308bd32de3d8a25e92246959b93f03f09e0 /src/leap | |
parent | d90aa43945a304efdf632ace329c2b8c9aea2377 (diff) |
[bug] properly format failure for logging on errback
Diffstat (limited to 'src/leap')
-rw-r--r-- | src/leap/bitmask/core/mail_services.py | 2 |
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 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 # -------------------------------------------------------------------- |