diff --git a/cmd/rv/probe.go b/cmd/rv/probe.go index 657382c1..1665579e 100644 --- a/cmd/rv/probe.go +++ b/cmd/rv/probe.go @@ -170,7 +170,7 @@ func (tp *turbidityProbe) turbidityCalculation() error { if err != nil { err_ := cleanUp(file.Name(), vc) if err_ != nil { - return fmt.Errorf("could not clean up after evaluation error: %w", err_) + return fmt.Errorf("could not clean up: %v, after evaluation error: %w", err_, err) } return fmt.Errorf("evaluation error: %w", err) }