summaryrefslogtreecommitdiff
path: root/alot/ui.py
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-01-16 18:37:59 +0100
committerAnton Khirnov <anton@khirnov.net>2021-01-16 18:39:55 +0100
commitaafbf031108a1328671deb658bf7d220d3e42f8b (patch)
treef867ffc05fd1422d9955eaeff7148d488a219f18 /alot/ui.py
parent7e969f07bf378846ff9857e949f649dbe2fd2fe3 (diff)
ui: do not display an error on cancelling a command
This is not an error state, just normal operation.
Diffstat (limited to 'alot/ui.py')
-rw-r--r--alot/ui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/ui.py b/alot/ui.py
index 326b0908..e361fee8 100644
--- a/alot/ui.py
+++ b/alot/ui.py
@@ -212,7 +212,7 @@ class UI:
if isinstance(exception, CommandParseError):
self.notify(str(exception), priority='error')
elif isinstance(exception, CommandCanceled):
- self.notify("operation cancelled", priority='error')
+ logging.debug("command cancelled")
else:
logging.error(traceback.format_exc())
msg = "{}\n(check the log for details)".format(exception)