internal/database: fix
This commit is contained in:
parent
45a0d08b27
commit
f12c2f944a
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue