remove painful log
This commit is contained in:
parent
b2c510a247
commit
4d30329f06
|
@ -52,8 +52,6 @@ func (v *ValhallaRouting) Route(locations []orb.Point) (route *Route, err error)
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Debug().Any("resp", resp).Msg("valhalla response")
|
|
||||||
|
|
||||||
if resp.Directions == nil || resp.Directions.Routes == nil || len(resp.Directions.Routes) < 1 {
|
if resp.Directions == nil || resp.Directions.Routes == nil || len(resp.Directions.Routes) < 1 {
|
||||||
return nil, errors.New("no routes returned by valhalla")
|
return nil, errors.New("no routes returned by valhalla")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue