Skip to content

Commit 4014571

Browse files
committed
changed LOGGER.error to LOGGER.exception
1 parent 5d3a2c5 commit 4014571

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/observability/virt/test_virt_metrics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,5 +89,5 @@ def test_kubevirt_virt_operator_ready_status(
8989
LOGGER.info("Metrics value matches the expected value! (no results were found)")
9090
return
9191
except TimeoutExpiredError:
92-
LOGGER.error(f"Metric {KUBEVIRT_VIRT_OPERATOR_READY_STATUS} did not become zero. Last value: {sample}")
92+
LOGGER.exception(f"Metric {KUBEVIRT_VIRT_OPERATOR_READY_STATUS} did not become zero. Last value: {sample}")
9393
raise

0 commit comments

Comments
 (0)