diff --git a/internal/database/boltdb.go b/internal/database/boltdb.go index dfe8b45..1d2e26b 100644 --- a/internal/database/boltdb.go +++ b/internal/database/boltdb.go @@ -64,7 +64,7 @@ func (b *BoltDBStorage) getRouteBy(ctx context.Context, match, val string) (Rout r := Route{} err := b.db.One(match, val, &r) if err != nil { - ln.Error(ctx, err, ln.Action("get route"), ln.F{"id": id}) + ln.Error(ctx, err, ln.Action("get route"), ln.F{"match": match, "val": val}) switch err { case storm.ErrNotFound: