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) {