internal/database: fix

This commit is contained in:
Cadey Ratio 2017-12-02 18:18:02 -08:00
parent 45a0d08b27
commit f12c2f944a
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ func (b *BoltDBStorage) getRouteBy(ctx context.Context, match, val string) (Rout
r := Route{} r := Route{}
err := b.db.One(match, val, &r) err := b.db.One(match, val, &r)
if err != nil { 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 { switch err {
case storm.ErrNotFound: case storm.ErrNotFound: