diff --git a/plugin/rename_file.py b/plugin/rename_file.py index b47b37c45..399828671 100644 --- a/plugin/rename_file.py +++ b/plugin/rename_file.py @@ -127,7 +127,7 @@ def rename_path(self, old_path: str, new_path: str) -> None: isdir = os.path.isdir(old_path) try: os.rename(old_path, new_path) - except: + except Exception: sublime.status_message("Unable to rename") if isdir: for v in self.window.views():