summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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):
"""