ccpp-framework icon indicating copy to clipboard operation
ccpp-framework copied to clipboard

Return full error message from xmllint

Open peverwhee opened this issue 1 year ago • 0 comments

Update call_command function to include stderr output in CCPPError message.

Right now, when xmllint-ing is done via xml_tools.py (validate_xml_file), the output of the linter is not returned. This PR adds the stderr output (if any) to the returned error message.

PR also decodes error messages for cleaner output.

User interface changes?: No

Testing: test removed: N/A unit tests: Added new doctest to test error message system tests: N/A manual testing: Ran with/parsed new error messages within CAM-SIMA

peverwhee avatar Aug 29 '24 21:08 peverwhee