diff options
author | Benjamin <fagga@gmx.de> | 2012-10-04 13:39:00 +0200 |
---|---|---|
committer | Benjamin <fagga@gmx.de> | 2012-10-04 13:39:00 +0200 |
commit | 7cd10af0caf32be9141ec1e34f8d6ad76a4b23db (patch) | |
tree | 0c6434a8f8291efb1f3a8b06092045b6514a8df5 /alot | |
parent | 5ed59825ffaeaacea90ea10be4b932c60428ed8e (diff) |
Include STDERR from sendmail_command in SendmailAccount error message
Diffstat (limited to 'alot')
-rw-r--r-- | alot/account.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/account.py b/alot/account.py index 1a4a28a2..ddc6cad4 100644 --- a/alot/account.py +++ b/alot/account.py @@ -166,7 +166,7 @@ class SendmailAccount(Account): def errb(failure): termobj = failure.value - errmsg = '%s\nsendmail_cmd set to: %s' % (str(termobj), self.cmd) + errmsg = '%s failed with code %s:\n%s' % (self.cmd, termobj.exitCode, failure.value.stderr.rstrip()) logging.error(errmsg) logging.error(failure.getTraceback()) logging.error(failure.value.stderr) |