node/wire: manage logs for error establishing connection
Instead of logging all IO errors as an error, match on the kind of the error, logging an info message, otherwise an error.
These errors are informational, and cannot necessarily be resolved by the node operator – since it is a matter of not being able to connect to another end.
1 file changed
+16
-1
47dc2c56
→
75b665ff
modified crates/radicle-node/src/wire.rs
@@ -990,7 +990,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1221,6 +1221,21 @@ fn session<G: Ecdh<Pk = NodeId>>(
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|