View on GitHub
File Changes

                      
                    let conn = server.serve(stream);
                    let conn_logger = fold_logger.clone();
-
                    tokio::spawn(
-
                        conn.map_err(move |e| error!(conn_logger, "server error: {:?}", e)),
-
                    );
+
                    tokio::spawn(conn.map_err(move |e| {
+
                        warn!(conn_logger, "incoming P2P connection error: {:?}", e)
+
                    }));

                      
                    future::ok(server)
                })