Add tracing output on unhandled peer requests
This commit is contained in:
parent
54948b07e2
commit
d4dc4f0d04
|
@ -286,7 +286,10 @@ where
|
||||||
// and try to construct an appropriate request object.
|
// and try to construct an appropriate request object.
|
||||||
let req = match msg {
|
let req = match msg {
|
||||||
Message::Addr(addrs) => Some(Request::PushPeers(addrs)),
|
Message::Addr(addrs) => Some(Request::PushPeers(addrs)),
|
||||||
_ => None,
|
_ => {
|
||||||
|
debug!("unhandled message type");
|
||||||
|
None
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
match req {
|
match req {
|
||||||
|
|
Loading…
Reference in New Issue