network: fix missing {0} in PeerError::Serialization
This commit is contained in:
parent
18cf5e0249
commit
f93deb1cac
|
@ -32,7 +32,7 @@ pub enum PeerError {
|
||||||
#[error("Client request timed out")]
|
#[error("Client request timed out")]
|
||||||
ClientRequestTimeout,
|
ClientRequestTimeout,
|
||||||
/// A serialization error occurred while reading or writing a message.
|
/// A serialization error occurred while reading or writing a message.
|
||||||
#[error("Serialization error")]
|
#[error("Serialization error: {0}")]
|
||||||
Serialization(#[from] SerializationError),
|
Serialization(#[from] SerializationError),
|
||||||
/// A badly-behaved remote peer sent a handshake message after the handshake was
|
/// A badly-behaved remote peer sent a handshake message after the handshake was
|
||||||
/// already complete.
|
/// already complete.
|
||||||
|
|
Loading…
Reference in New Issue