Skip to content

Improve message on xml parse error in check_dependency.py

Thomas Latham requested to merge tlatham_improve_errormsg into master

If the check_dependency.py script encounters an xml parse error, the error message printed by the exception does not contain the filename where the problem was encountered, which makes it very difficult to locate the problem. The changes here improve this by catching the exception and adding the filename information to it, before re-raising it.


Validated by

  • Core Software
  • RTA
  • Simulation

Merge request reports