mirror of https://bitbucket.org/ausocean/av.git
mend
This commit is contained in:
parent
b97f1f465f
commit
8e06cffade
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue