diff --git a/utils/lit/lit/TestingConfig.py b/utils/lit/lit/TestingConfig.py index f4ff89f1cdb..925099ca5d2 100644 --- a/utils/lit/lit/TestingConfig.py +++ b/utils/lit/lit/TestingConfig.py @@ -74,6 +74,11 @@ class TestingConfig: # return control without error. if e.args: raise + except: + import traceback + litConfig.fatal( + 'unable to parse config file %r, traceback: %s' % ( + path, traceback.format_exc())) f.close() else: if mustExist: