Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

Commit

Permalink
Improve stringtable validator (#240)
Browse files Browse the repository at this point in the history
  • Loading branch information
PabstMirror authored Jun 22, 2020
1 parent 6be04d4 commit df37883
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/stringtable_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
def check_stringtable(filepath):
try:
tree = ET.parse(filepath)
except:
print(" ERROR: Failed to parse file.")
except Exception as e:
print(" ERROR: Failed to parse file. {}".format(e))
return 1

errors = 0
Expand Down

0 comments on commit df37883

Please sign in to comment.