QTZPOC-20

QTZPOC-20: Add NOSONAR comment to summarize_failure function to suppress static analysis warning.
This commit is contained in:
2026-09-04 15:23:55 -03:00
parent 72a55c0900
commit 61db575cdc

View File

@@ -298,7 +298,7 @@ def summarize_failure(
""" """
if exception is not None: if exception is not None:
cause = _root_cause(exception) cause = _root_cause(exception)
return _type_name(cause), _one_line(str(cause)) return _type_name(cause), _one_line(str(cause)) # NOSONAR
return error_type or _UNKNOWN_ERROR_TYPE, _one_line(detail_text or '') return error_type or _UNKNOWN_ERROR_TYPE, _one_line(detail_text or '')