Add tracing output on unhandled peer requests

This commit is contained in:
Henry de Valence 2019-10-16 18:45:33 -07:00
parent 54948b07e2
commit d4dc4f0d04
1 changed files with 4 additions and 1 deletions

View File

@ -286,7 +286,10 @@ where
// and try to construct an appropriate request object.
let req = match msg {
Message::Addr(addrs) => Some(Request::PushPeers(addrs)),
_ => None,
_ => {
debug!("unhandled message type");
None
}
};
match req {