1
0
mirror of https://github.com/MetaCubeX/mihomo.git synced 2025-09-19 20:15:59 +08:00

chore: log show all ips when all ips shake hands failed

This commit is contained in:
Skyxim
2022-05-13 21:43:42 +08:00
parent df8196a68c
commit d4dcbce9cb

View File

@ -253,7 +253,7 @@ func concurrentDialContext(ctx context.Context, network string, ips []netip.Addr
} }
} }
return nil, errors.New("all ip tcp shake hands failed") return nil, fmt.Errorf("all ips %v tcp shake hands failed", ips)
} }
func singleDialContext(ctx context.Context, network string, address string, opt *option) (net.Conn, error) { func singleDialContext(ctx context.Context, network string, address string, opt *option) (net.Conn, error) {