Browse Source

explict catch

master 0.7.11
Randy Lai 3 years ago
parent
commit
bbc5888e6b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      json_file.py

+ 1
- 1
json_file.py View File

@ -16,7 +16,7 @@ class JsonFile:
content = f.read()
try:
data = sublime.decode_value(content)
except:
except Exception:
sublime.message_dialog('%s is bad!' % self.fpath)
raise
if not data:

Loading…
Cancel
Save