Browse Source

explict catch

master 0.7.11
Randy Lai 4 years ago
parent
commit
bbc5888e6b
  1. 2
      json_file.py

2
json_file.py

@ -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