Permalink
Browse files

Fix exception handling of EditorConfigHandler (#11)

  • Loading branch information...
1 parent 83e8744 commit 582fbd04f9b31eb518afda56e2fc5378d24a07d6 @mrkschan mrkschan committed with xuhdev Aug 9, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 editorconfig/main.py
@@ -69,7 +69,7 @@ def main():
handler = EditorConfigHandler(filename, conf_filename, version_tuple)
try:
options = handler.get_configurations()
- except (ParsingError, PathError, VersionError):
+ except (ParsingError, PathError, VersionError) as e:
print(str(e))
sys.exit(2)
if multiple_files:

0 comments on commit 582fbd0

Please sign in to comment.