diff options
Diffstat (limited to 'src/leap/bitmask/core')
-rw-r--r-- | src/leap/bitmask/core/mail_services.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/leap/bitmask/core/mail_services.py b/src/leap/bitmask/core/mail_services.py index 14f6e0f..c5a6636 100644 --- a/src/leap/bitmask/core/mail_services.py +++ b/src/leap/bitmask/core/mail_services.py @@ -286,8 +286,8 @@ class KeymanagerContainer(Container): def _log_key_error(step): def log_error(failure): - logger.err("Error while %s key!" % step) - logger.err(failure) + logger.error("Error while %s key!" % step) + logger.error(failure) return failure return log_error @@ -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.err) + d.addErrback(logger.error) return d # -------------------------------------------------------------------- |