From f3f8e7e52fb6ebffe57dc12bc17d58522c6c0261 Mon Sep 17 00:00:00 2001 From: Dreamacro <305009791@qq.com> Date: Tue, 18 Feb 2020 14:26:42 +0800 Subject: [PATCH] Chore: remove println --- dns/client.go | 1 - 1 file changed, 1 deletion(-) diff --git a/dns/client.go b/dns/client.go index 3546adbf..f12b0e01 100644 --- a/dns/client.go +++ b/dns/client.go @@ -30,7 +30,6 @@ func (c *client) ExchangeContext(ctx context.Context, m *D.Msg) (msg *D.Msg, err } else { var err error if ip, err = c.r.ResolveIP(c.host); err != nil { - println("?") return nil, fmt.Errorf("use default dns resolve failed: %w", err) } }