all: allow verbose log when connecting to ControlD API

So troubleshooting will be easier in case of errors happened.
This commit is contained in:
Cuong Manh Le authored and Cuong Manh Le committed 2025-02-18 20:31:08 +07:00
1 parent 7444d8517a
commit 0631ffe831
4 files changed
+16 -4

No files matched your search

+1 -1
View File
@@ -529,7 +529,7 @@ func (uc *UpstreamConfig) newDOHTransport(addrs []string) *http.Transport {
for i := range addrs {
dialAddrs[i] = net.JoinHostPort(addrs[i], port)
}
conn, err := pd.DialContext(ctx, network, dialAddrs)
conn, err := pd.DialContext(ctx, network, dialAddrs, ProxyLogger.Load())
if err != nil {
return nil, err
}