fix: prevent app from quitting if one resolver failed
parent
f1a1e3aae6
commit
e5acf1214c
|
@ -137,7 +137,6 @@ func main() {
|
||||||
resp, err := rslv.Lookup(q)
|
resp, err := rslv.Lookup(q)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
app.Logger.WithError(err).Error("error looking up DNS records")
|
app.Logger.WithError(err).Error("error looking up DNS records")
|
||||||
app.Logger.Exit(2)
|
|
||||||
}
|
}
|
||||||
responses = append(responses, resp)
|
responses = append(responses, resp)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue