Mercurial > gemma
changeset 2903:813671873536
Waterway axis import: Don't log error twice if no feature was imported.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 02 Apr 2019 16:38:10 +0200 |
parents | 2097c3633f0a |
children | 83137bbd4939 |
files | pkg/imports/wx.go |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/pkg/imports/wx.go Tue Apr 02 14:52:38 2019 +0200 +++ b/pkg/imports/wx.go Tue Apr 02 16:38:10 2019 +0200 @@ -294,9 +294,7 @@ } if features == 0 { - err := errors.New("No features found") - feedback.Error("%v", err) - return nil, err + return nil, errors.New("No features found") } if err = tx.Commit(); err == nil {