summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/bonafide/config.py
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/bonafide/config.py
parent23fc0e42f5f9bc5c6058783bb9482600b53a4616 (diff)
[bug] fix error logging calls using twisted logger
Diffstat (limited to 'src/leap/bitmask/bonafide/config.py')
-rw-r--r--src/leap/bitmask/bonafide/config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/leap/bitmask/bonafide/config.py b/src/leap/bitmask/bonafide/config.py
index bf16d30..441f6a4 100644
--- a/src/leap/bitmask/bonafide/config.py
+++ b/src/leap/bitmask/bonafide/config.py
@@ -343,7 +343,7 @@ class Provider(object):
# See: # https://leap.se/code/issues/7906
def further_bootstrap_needs_auth(ignored):
- logger.warning('cannot download services config yet, need auth')
+ logger.warn('cannot download services config yet, need auth')
pending_deferred = defer.Deferred()
self.stuck_bootstrap[self._domain] = pending_deferred
return pending_deferred
@@ -396,7 +396,7 @@ class Provider(object):
if stuck:
d = self._get_config_for_all_services(session)
d.addCallback(lambda _: stuck.callback('continue!'))
- d.addErrback(logger.err)
+ d.addErrback(logger.error)
return d
if not self.has_fetched_services_config():