From ba67dc3dd965418f1830bdae0125f7f50e1c12de Mon Sep 17 00:00:00 2001 From: gVisor bot Date: Wed, 20 Jul 2022 17:15:19 +0800 Subject: [PATCH] chore: clean code --- dns/doh.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/dns/doh.go b/dns/doh.go index 20cc5f6b..40029c94 100644 --- a/dns/doh.go +++ b/dns/doh.go @@ -7,7 +7,6 @@ import ( "github.com/Dreamacro/clash/component/dialer" "github.com/Dreamacro/clash/component/resolver" tls2 "github.com/Dreamacro/clash/component/tls" - "github.com/Dreamacro/clash/log" "github.com/lucas-clemente/quic-go" "github.com/lucas-clemente/quic-go/http3" D "github.com/miekg/dns" @@ -72,7 +71,6 @@ func (dc *dohClient) doRequest(req *http.Request) (msg *D.Msg, err error) { client := &http.Client{Transport: dc.transport} resp, err := client.Do(req) if err != nil { - log.Errorln("doh %v", err) return nil, err }