mirror of https://github.com/status-im/consul.git
NET-10610 - stop logging no data as errors in DNS lookups (#21578)
This commit is contained in:
parent
588730c49f
commit
c526659b7f
|
@ -275,7 +275,6 @@ func (r *Router) handleRequestRecursively(req *dns.Msg, reqCtx Context, configCt
|
||||||
}
|
}
|
||||||
resp, err := messageSerializer{}.serialize(serializedOpts)
|
resp, err := messageSerializer{}.serialize(serializedOpts)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
r.logger.Error("error serializing DNS results", "error", err)
|
|
||||||
return respGenerator.generateResponseFromError(&generateResponseFromErrorOpts{
|
return respGenerator.generateResponseFromError(&generateResponseFromErrorOpts{
|
||||||
req: req,
|
req: req,
|
||||||
err: err,
|
err: err,
|
||||||
|
|
Loading…
Reference in New Issue