diff options
author | William Deegan <bill@baddogconsulting.com> | 2021-07-08 03:42:24 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2021-07-08 03:42:24 (GMT) |
commit | f359308f045555963d59e08a4901ace7e07833c5 (patch) | |
tree | beba245ff7ae81c7a9aef695959fe23b1ed2e6ce /bin/SConsDoc.py | |
parent | 2889a57a42038445ed7ca4f4e89edfb788c4ba91 (diff) | |
download | SCons-f359308f045555963d59e08a4901ace7e07833c5.zip SCons-f359308f045555963d59e08a4901ace7e07833c5.tar.gz SCons-f359308f045555963d59e08a4901ace7e07833c5.tar.bz2 |
Updates to docs to indicate experimental status
Diffstat (limited to 'bin/SConsDoc.py')
-rw-r--r-- | bin/SConsDoc.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/SConsDoc.py b/bin/SConsDoc.py index baffbdc..f369642 100644 --- a/bin/SConsDoc.py +++ b/bin/SConsDoc.py @@ -364,9 +364,18 @@ class TreeFactory: doc.xinclude() try: TreeFactory.xmlschema.assertValid(doc) + except etree.XMLSchemaValidateError as e: + print("ERROR: %s fails to validate:" % fpath) + print(e) + print(e.error_log.last_error.message) + print("In file: [%s]"%e.error_log.last_error.filename) + print("Line : %d"%e.error_log.last_error.line) + return False + except Exception as e: print("ERROR: %s fails to validate:" % fpath) print(e) + return False return True |