remove duplicate log (#638)
This commit is contained in:
parent
e085b6bef4
commit
f98c1c0864
@ -210,10 +210,6 @@ impl SwarmHandler {
|
|||||||
self.pending_dials.insert(connection_id, dial);
|
self.pending_dials.insert(connection_id, dial);
|
||||||
}
|
}
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
tracing::error!(
|
|
||||||
"Failed to connect to {} with unretriable error: {e}",
|
|
||||||
dial.addr
|
|
||||||
);
|
|
||||||
if let Err(err) = dial.result_sender.send(Err(e)) {
|
if let Err(err) = dial.result_sender.send(Err(e)) {
|
||||||
tracing::warn!("failed to send the Err result of dialing: {err:?}");
|
tracing::warn!("failed to send the Err result of dialing: {err:?}");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user