Skip to content

Commit

Permalink
except Exception
Browse files Browse the repository at this point in the history
  • Loading branch information
predragnikolic committed Jul 4, 2024
1 parent 6181644 commit 181f17c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/rename_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down

0 comments on commit 181f17c

Please sign in to comment.