Skip to content

Commit

Permalink
Improved error message to name used XML validated schema.
Browse files Browse the repository at this point in the history
  • Loading branch information
Paebbels committed Jun 23, 2024
1 parent 05db54d commit 934b434
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyEDAA/Reports/Unittesting/JUnit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -868,7 +868,7 @@ def _Read(self, xmlSchemaFile: str) -> None:
if version_info >= (3, 11): # pragma: no cover
for logEntry in junitParser.error_log:
ex.add_note(str(logEntry))
raise UnittestException(f"XML syntax or validation error for '{self._path}'.") from ex
raise UnittestException(f"XML syntax or validation error for '{self._path}' using XSD schema '{xmlSchemaResourceFile}'.") from ex
except Exception as ex:
raise UnittestException(f"Couldn't open '{self._path}'.") from ex

Expand Down

0 comments on commit 934b434

Please sign in to comment.