Mercurial > gemma
comparison pkg/imports/st.go @ 2548:6b34d0fb4498
Improve user facing error messages for stretch area generation
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 07 Mar 2019 20:03:43 +0100 |
parents | c5bbe2409a52 |
children | dc4fae4bdb8f |
comparison
equal
deleted
inserted
replaced
2547:5afca5bc1d7a | 2548:6b34d0fb4498 |
---|---|
190 st.ObjNam, | 190 st.ObjNam, |
191 nobjnm, | 191 nobjnm, |
192 st.Date.Time, | 192 st.Date.Time, |
193 st.Source, | 193 st.Source, |
194 ).Scan(&id); err != nil { | 194 ).Scan(&id); err != nil { |
195 return nil, err | 195 return nil, handleError(err) |
196 } | 196 } |
197 | 197 |
198 // store the associated countries. | 198 // store the associated countries. |
199 | 199 |
200 feedback.Info("Countries associated with stretch: %s.", st.Countries) | 200 feedback.Info("Countries associated with stretch: %s.", st.Countries) |