diff options
author | Anton Khirnov <anton@khirnov.net> | 2021-01-16 18:37:59 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2021-01-16 18:39:55 +0100 |
commit | aafbf031108a1328671deb658bf7d220d3e42f8b (patch) | |
tree | f867ffc05fd1422d9955eaeff7148d488a219f18 | |
parent | 7e969f07bf378846ff9857e949f649dbe2fd2fe3 (diff) |
ui: do not display an error on cancelling a command
This is not an error state, just normal operation.
-rw-r--r-- | alot/ui.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |