Mercurial > gemma
changeset 4881:9f1c33ba3f0a
Report reference gauge on import of bottleneck
Can be especially helpful if an errors follows, which says that no
reference gauge with matching temporal validity is available, to
track down the cause.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Fri, 31 Jan 2020 13:38:08 +0100 |
parents | ed0de319d09a |
children | 566e9ee70d45 |
files | pkg/imports/bn.go |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/pkg/imports/bn.go Wed Jan 29 14:06:36 2020 +0100 +++ b/pkg/imports/bn.go Fri Jan 31 13:38:08 2020 +0100 @@ -492,6 +492,7 @@ // Additional Information, only of interest when we change something, so // it can be used for debugging if something goes wrong... feedback.Info("Range: from %s to %s", bn.From_ISRS, bn.To_ISRS) + feedback.Info("Reference gauge: %s", bn.Fk_g_fid) // Check if the new bottleneck intersects with the validity of existing // for the same bottleneck_id we consider this an update and mark the