diff --git a/tools/stringtable_validator.py b/tools/stringtable_validator.py index 5252297f56..e367c48c46 100644 --- a/tools/stringtable_validator.py +++ b/tools/stringtable_validator.py @@ -23,8 +23,8 @@ PROJECT_NAME = "ACE" 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