diff --git a/component/dialer/dialer.go b/component/dialer/dialer.go index a43fa296..521479b0 100644 --- a/component/dialer/dialer.go +++ b/component/dialer/dialer.go @@ -215,6 +215,10 @@ func concurrentDualStackDialContext(ctx context.Context, network, address string ips, err = resolver.ResolveAllIPProxyServerHost(host) } + if err != nil { + return nil, err + } + return concurrentDialContext(ctx, network, ips, port, opt) }