refactor(client): touch up connect log formats
This commit is contained in:
@@ -532,11 +532,11 @@ impl ConnectingTcpRemote {
|
|||||||
debug!("connecting to {}", addr);
|
debug!("connecting to {}", addr);
|
||||||
match connect(&addr, local_addr, reuse_address, self.connect_timeout)?.await {
|
match connect(&addr, local_addr, reuse_address, self.connect_timeout)?.await {
|
||||||
Ok(tcp) => {
|
Ok(tcp) => {
|
||||||
debug!("connected to {:?}", tcp.peer_addr().ok());
|
debug!("connected to {}", addr);
|
||||||
return Ok(tcp);
|
return Ok(tcp);
|
||||||
}
|
}
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
trace!("connect error {:?}", e);
|
trace!("connect error for {}: {:?}", addr, e);
|
||||||
err = Some(e);
|
err = Some(e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user