Mercurial > gemma
comparison pkg/imports/fm_bcnlat.go @ 4941:df6c8a485979 fairway-marks-import
Improve handling of invalid dirimp values
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Mon, 17 Feb 2020 19:00:44 +0100 |
parents | b3b2ba09a450 |
children |
comparison
equal
deleted
inserted
replaced
4940:b3b2ba09a450 | 4941:df6c8a485979 |
---|---|
186 ctx, fmid, dirimp) | 186 ctx, fmid, dirimp) |
187 return err | 187 return err |
188 }); err != nil { | 188 }); err != nil { |
189 feedback.Warn( | 189 feedback.Warn( |
190 pgxutils.ReadableError{Err: err}.Error()) | 190 pgxutils.ReadableError{Err: err}.Error()) |
191 feedback.Info( | |
192 "Tried to import '%s' as dirimp value", | |
193 dirimp) | |
191 } | 194 } |
192 } | 195 } |
193 } | 196 } |
194 } | 197 } |
195 } | 198 } |