diff --git a/analysis/analysis.go b/analysis/analysis.go index 5bae4a8892..3bb7d89731 100644 --- a/analysis/analysis.go +++ b/analysis/analysis.go @@ -510,12 +510,7 @@ func (c *Controller) assessRunStatus(run *v1alpha1.AnalysisRun, metrics []v1alph } else { // Update metric result message if message != "" { - failureMessage := fmt.Sprintf("Metric assessed %s due to %s", metricStatus, message) - if result.Message != "" { - result.Message = fmt.Sprintf("%s: \"Error Message: %s\"", failureMessage, result.Message) - } else { - result.Message = failureMessage - } + result.Message = fmt.Sprintf("Metric assessed %s due to %s", metricStatus, message) analysisutil.SetResult(run, *result) } // Update DryRun Summary