summaryrefslogtreecommitdiff
path: root/src/leap
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap')
-rw-r--r--src/leap/bitmask/mail/outgoing/service.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/leap/bitmask/mail/outgoing/service.py b/src/leap/bitmask/mail/outgoing/service.py
index accb9e5..416b8bf 100644
--- a/src/leap/bitmask/mail/outgoing/service.py
+++ b/src/leap/bitmask/mail/outgoing/service.py
@@ -194,10 +194,10 @@ class OutgoingMail(object):
if self._bouncer:
self._bouncer.bounce_message(
- err.message, to=self._from_address,
+ failure.getErrorMessage(), to=self._from_address,
orig=origmsg)
else:
- raise err
+ failure.raiseException()
def _route_msg(self, encrypt_and_sign_result, raw):
"""