Skip to content

Commit

Permalink
explict catch
Browse files Browse the repository at this point in the history
  • Loading branch information
randy3k committed Sep 24, 2017
1 parent 9e8ac68 commit bbc5888
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion json_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def load(self, default=[]):
content = f.read()
try:
data = sublime.decode_value(content)
except:
except Exception:
sublime.message_dialog('%s is bad!' % self.fpath)
raise
if not data:
Expand Down

0 comments on commit bbc5888

Please sign in to comment.