diff options
author | Benjamin <fagga@gmx.de> | 2012-10-04 17:41:03 +0200 |
---|---|---|
committer | Benjamin <fagga@gmx.de> | 2012-10-04 17:41:03 +0200 |
commit | 47629290177dbe379a94a16ae7416273b3e3dd48 (patch) | |
tree | 0cb0371e6f7dbdfb12820c5ba0dd988ec8615f63 /alot | |
parent | bd6ef9fe8f5fd266ebacb94ab2667b35ba1c40df (diff) |
Make error notification on SendingMailFailed and StoreMailError blocking
Diffstat (limited to 'alot')
-rw-r--r-- | alot/commands/envelope.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alot/commands/envelope.py b/alot/commands/envelope.py index 2a041165..330fca75 100644 --- a/alot/commands/envelope.py +++ b/alot/commands/envelope.py @@ -190,13 +190,13 @@ class SendCommand(Command): failure.trap(SendingMailFailed) logging.error(failure.getTraceback()) errmsg = 'failed to send: %s' % failure.value - ui.notify(errmsg, priority='error') + ui.notify(errmsg, priority='error', block=True) def store_errb(failure): failure.trap(StoreMailError) logging.error(failure.getTraceback()) errmsg = 'could not store mail: %s' % failure.value - ui.notify(errmsg, priority='error') + ui.notify(errmsg, priority='error', block=True) envelope.sending = True d = account.send_mail(mail) |