diff --git a/internal/dnsforward/dnsforward_test.go b/internal/dnsforward/dnsforward_test.go index de9ef09c..548c79da 100644 --- a/internal/dnsforward/dnsforward_test.go +++ b/internal/dnsforward/dnsforward_test.go @@ -592,6 +592,8 @@ func TestSafeSearch(t *testing.T) { r, _, errExch := client.Exchange(req, addr) if assert.NoError(c, errExch) { once.Do(func() { reply = r }) + } else { + t.Logf("got error: %v", errExch) } }, testTimeout*10, testTimeout)