diff options
author | Ruben Pollan <meskio@sindominio.net> | 2016-08-27 18:43:15 +0200 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2016-08-27 19:16:34 +0200 |
commit | b97643c5b8cbee752659269f0be15ff460efe193 (patch) | |
tree | ca196124b388237f093c7ad7ec98e8f674ec34bb /bonafide/src/leap | |
parent | cc640c9b05aa6f74c7610bfa141b6f2c631ff9b8 (diff) |
[bug] let the failures propagate
In the case of wrong username/password the failure returned was
'Authentication hook did not return anything'. Right now the
original failure is returned, and the producer of the failure can
put a more meaningful message.
- Resolves: #8399
Diffstat (limited to 'bonafide/src/leap')
-rw-r--r-- | bonafide/src/leap/bonafide/config.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/bonafide/src/leap/bonafide/config.py b/bonafide/src/leap/bonafide/config.py index c3097cc8..ae66a0e8 100644 --- a/bonafide/src/leap/bonafide/config.py +++ b/bonafide/src/leap/bonafide/config.py @@ -227,13 +227,11 @@ class Provider(object): def callWhenMainConfigReady(self, cb, *args, **kw): d = self.first_bootstrap[self._domain] d.addCallback(lambda _: cb(*args, **kw)) - d.addErrback(log.err) return d def callWhenReady(self, cb, *args, **kw): d = self.ongoing_bootstrap[self._domain] d.addCallback(lambda _: cb(*args, **kw)) - d.addErrback(log.err) return d def has_valid_certificate(self): |