QTZPOC-20
QTZPOC-20: Add NOSONAR comment to summarize_failure function to suppress static analysis warning.
This commit is contained in:
@@ -298,7 +298,7 @@ def summarize_failure(
|
||||
"""
|
||||
if exception is not None:
|
||||
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 '')
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user