Update stringtable_validator.py (#7774)

This commit is contained in:
PabstMirror 2020-06-22 15:26:18 -05:00 committed by GitHub
parent 03fb4222d5
commit 5b559152e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,8 +23,8 @@ PROJECT_NAME = "ACE"
def check_stringtable(filepath): def check_stringtable(filepath):
try: try:
tree = ET.parse(filepath) tree = ET.parse(filepath)
except: except Exception as e:
print(" ERROR: Failed to parse file.") print(" ERROR: Failed to parse file. {}".format(e))
return 1 return 1
errors = 0 errors = 0