summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--alot/account.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/account.py b/alot/account.py
index 10602abe..0c4abfbe 100644
--- a/alot/account.py
+++ b/alot/account.py
@@ -167,7 +167,7 @@ class SendmailAccount(Account):
def errb(failure):
termobj = failure.value
errmsg = '%s failed with code %s:\n%s' % \
- (self.cmd, termobj.exitCode, failure.value.stderr.rstrip())
+ (self.cmd, termobj.exitCode, str(failure.value))
logging.error(errmsg)
logging.error(failure.getTraceback())
logging.error(failure.value.stderr)