Include remote address when logging failure to establish outbound connection
This commit is contained in:
parent
7b47dcbf51
commit
5f0b040f25
@ -690,7 +690,7 @@ func (cl *Client) outgoingConnection(t *Torrent, addr IpPort, ps peerSource) {
|
||||
cl.noLongerHalfOpen(t, addr.String())
|
||||
if err != nil {
|
||||
if cl.config.Debug {
|
||||
cl.logger.Printf("error establishing outgoing connection: %s", err)
|
||||
cl.logger.Printf("error establishing outgoing connection to %v: %v", addr, err)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user