From 7980af6f46890ee8ca01e5cd9cbe07dc4c710eb0 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Mon, 7 Jun 2021 12:38:36 +0200 Subject: [PATCH] Error propagation --- dnscrypt-proxy/serversInfo.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnscrypt-proxy/serversInfo.go b/dnscrypt-proxy/serversInfo.go index 27025adf..b15a84da 100644 --- a/dnscrypt-proxy/serversInfo.go +++ b/dnscrypt-proxy/serversInfo.go @@ -828,7 +828,7 @@ func fetchODoHTargetInfo(proxy *Proxy, name string, stamp stamps.ServerStamp, is } dlog.Infof("Trying to fetch the [%v] configuration again", name) } - return serverInfo, nil + return serverInfo, err } func (serverInfo *ServerInfo) noticeFailure(proxy *Proxy) {