summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/core
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2016-10-10 10:40:54 -0300
committerKali Kaneko (leap communications) <kali@leap.se>2016-10-10 10:19:11 -0400
commit7fd29055b61e0e201f1806c8d19dab6a4ce53bdf (patch)
treed7043bc383d52af58b521b68a66e19ebfb87fdc7 /src/leap/bitmask/core
parent23fc0e42f5f9bc5c6058783bb9482600b53a4616 (diff)
[bug] fix error logging calls using twisted logger
Diffstat (limited to 'src/leap/bitmask/core')
-rw-r--r--src/leap/bitmask/core/mail_services.py6
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 14f6e0f2..c5a66366 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
# --------------------------------------------------------------------