fix(net): include disconnect reason in P2PStreamError display (#21626)

This commit is contained in:
Alexey Shekhirin
2026-01-30 14:04:58 +00:00
committed by GitHub
parent faf64c712e
commit d72300c685

View File

@@ -68,7 +68,7 @@ pub enum P2PStreamError {
SendBufferFull,
/// Disconnected error.
#[error("disconnected")]
#[error("disconnected: {0}")]
Disconnected(DisconnectReason),
/// Unknown disconnect reason error.