Mercurial > gemma
changeset 1764:bb4348ac52ab
Waterway axis import: Be more verbose when parsing the GetFeature document fails.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 11 Jan 2019 10:42:34 +0100 |
parents | 4c21ff668b01 |
children | f73fc7e5b51a |
files | pkg/imports/wx.go |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/pkg/imports/wx.go Fri Jan 11 10:16:58 2019 +0100 +++ b/pkg/imports/wx.go Fri Jan 11 10:42:34 2019 +0100 @@ -193,7 +193,7 @@ if err := wfs.DownloadURLs(urls, func(r io.Reader) error { rfc, err := wfs.ParseRawFeatureCollection(r) if err != nil { - return err + return fmt.Errorf("parsing GetFeature document failed: %v", err) } if rfc.CRS != nil { crsName := rfc.CRS.Properties.Name