Skip to content
Snippets Groups Projects
Commit e6567257 authored by Pierre Krieger's avatar Pierre Krieger Committed by Gav Wood
Browse files

Add some logging if the timeouts stream ends (#414)

parent 2fdb9cbc
No related merge requests found
......@@ -546,6 +546,10 @@ fn init_thread(
}, timer_token);
Ok(())
}
})
.then(|val| {
warn!(target: "sub-libp2p", "Timeouts stream closed unexpectedly: {:?}", val);
val
});
// Start the process of periodically discovering nodes to connect to.
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment