From 6e7002dbd3db1444b9f2a376b7c06b9e27084dfa Mon Sep 17 00:00:00 2001 From: Skyxim 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 }