Apply PR suggestions

This commit is contained in:
Age Manning
2019-08-09 13:23:47 +10:00
parent 826abea8e0
commit 3210489a36
4 changed files with 61 additions and 82 deletions

View File

@@ -268,8 +268,11 @@ where
Self::Error,
> {
if let Some(err) = self.pending_error.take() {
// Returning an error here will result in dropping any peer that doesn't support any of
// the RPC protocols. For our immediate purposes we permit this and simply log that an
// upgrade was not supported.
// TODO: Add a logger to the handler for trace output.
dbg!(&err);
//return Err(err);
}
// return any events that need to be reported