This commit is contained in:
Kovid Goyal 2025-04-23 18:52:40 +05:30
parent 413a2b96e2
commit 17876385c5
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -177,7 +177,7 @@ func do_socket_io(io_data *rc_io_data) (serialized_response []byte, err error) {
network := utils.IfElse(global_options.to_network == "ip", "tcp", global_options.to_network)
conn, err = net.Dial(network, global_options.to_address)
if err != nil {
err = fmt.Errorf("Failed to connect to %s %s with error: %w", network, global_options.to_address, err)
err = fmt.Errorf("Failed to connect to %s:%s with error: %w", network, global_options.to_address, err)
return
}
}