Mercurial > gemma
comparison pkg/imports/gm.go @ 3583:391afcc961a2
Remove duplicate error message
The error returned by an import is written to the log, anyhow.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Mon, 03 Jun 2019 18:37:12 +0200 |
parents | 317d176ef38c |
children | d4a8d084eab4 |
comparison
equal
deleted
inserted
replaced
3582:317d176ef38c | 3583:391afcc961a2 |
---|---|
271 return nil, err | 271 return nil, err |
272 } | 272 } |
273 | 273 |
274 gids, err := doForGM(ctx, gauges, fetch, conn, feedback) | 274 gids, err := doForGM(ctx, gauges, fetch, conn, feedback) |
275 if err != nil { | 275 if err != nil { |
276 feedback.Error("Error processing gauges: %v", err) | |
277 return nil, err | 276 return nil, err |
278 } | 277 } |
279 | 278 |
280 if len(gids) == 0 { | 279 if len(gids) == 0 { |
281 return nil, UnchangedError("No new gauge measurements found") | 280 return nil, UnchangedError("No new gauge measurements found") |