This commit is contained in:
Russell Stanley 2022-03-17 09:21:26 +10:30
parent b97f1f465f
commit 8e06cffade
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ func (tp *turbidityProbe) turbidityCalculation() error {
if err != nil { if err != nil {
err_ := cleanUp(file.Name(), vc) err_ := cleanUp(file.Name(), vc)
if err_ != nil { 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) return fmt.Errorf("evaluation error: %w", err)
} }