cleanup: use ErrorToStringOrOK func in other tests that returns nil (#701)

Reference issue: https://github.com/ooni/probe/issues/2040
This commit is contained in:
Yeganathan S
2022-03-08 16:29:44 +05:30
committed by GitHub
parent 024eb42334
commit 74e31d5cc1
6 changed files with 6 additions and 6 deletions
@@ -106,7 +106,7 @@ func (m Multi) collect(expect int, overallStartIndex int, overallCount int, pref
count++
percentage := float64(count) / float64(overallCount)
callbacks.OnProgress(percentage, fmt.Sprintf(
"%s: measure %s: %+v", prefix, entry.Input.Target, entry.Err,
"%s: measure %s: %+v", prefix, entry.Input.Target, model.ErrorToStringOrOK(entry.Err),
))
outputch <- entry
}