From 053e30fabd6afc8ecae9d7f79fc8f8e7e66b027c Mon Sep 17 00:00:00 2001 From: Charles Oliveira Date: Tue, 20 Feb 2024 11:30:58 -0300 Subject: [PATCH] tradefed: log error when parsing xml file Signed-off-by: Charles Oliveira --- tradefed/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tradefed/__init__.py b/tradefed/__init__.py index 6890c74..fa120d4 100644 --- a/tradefed/__init__.py +++ b/tradefed/__init__.py @@ -198,7 +198,7 @@ def _extract_cts_results(self, buf, testrun, suite_prefix): element.clear() except ET.ParseError as e: - logger.warning(e) + logger.error(f"[CTS/VTS] Error extracting cases: {e}") return None # Process remaining test cases that didn't make to the last chunk