From 77fdeaf4ab464e663ab23be1da4875f156b349fb Mon Sep 17 00:00:00 2001 From: divybot Date: Fri, 5 Jun 2026 03:21:43 +0530 Subject: [PATCH] fix(handshake): silence connection polling errors Co-Authored-By: Divy Srivastava --- src/handshake.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/handshake.rs b/src/handshake.rs index 9fedaf3..41405a7 100644 --- a/src/handshake.rs +++ b/src/handshake.rs @@ -97,9 +97,7 @@ where let (mut sender, conn) = hyper::client::conn::http1::handshake(TokioIo::new(socket)).await?; let fut = Box::pin(async move { - if let Err(e) = conn.with_upgrades().await { - eprintln!("Error polling connection: {}", e); - } + let _ = conn.with_upgrades().await; }); executor.execute(fut);