Browse Source

NET-10610 - stop logging no data as errors in DNS lookups (#21578)

pull/21590/head
John Murret 4 months ago committed by GitHub
parent
commit
c526659b7f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      agent/dns/router.go

1
agent/dns/router.go

@ -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…
Cancel
Save