diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2021-06-11 16:04:03 -0400 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2021-06-14 11:28:25 -0400 |
commit | d0b69ecf4cdf880bbc54b41fe9c281cf9a1b7723 (patch) | |
tree | 9146506b50711c6af0f2ca728f67cd9513f26555 | |
parent | 1a47a4bd5ef5b9a647a9adf4ee1c20e2bcc007dd (diff) | |
download | cmd2-git-d0b69ecf4cdf880bbc54b41fe9c281cf9a1b7723.tar.gz |
Sorted exception list
-rw-r--r-- | cmd2/cmd2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py index 37dbee78..de0621bf 100644 --- a/cmd2/cmd2.py +++ b/cmd2/cmd2.py @@ -4483,7 +4483,7 @@ class Cmd(cmd.Cmd): except OSError as ex: self.perror(f"Cannot read persistent history file '{hist_file}': {ex}") return - except (lzma.LZMAError, json.JSONDecodeError, KeyError, UnicodeDecodeError, ValueError) as ex: + except (json.JSONDecodeError, lzma.LZMAError, KeyError, UnicodeDecodeError, ValueError) as ex: self.perror(f"Error processing persistent history file '{hist_file}': {ex}") self.history.start_session() |