From 9b78f4810849acfb2f49e8abc01c79b4705de688 Mon Sep 17 00:00:00 2001 From: Samuel Onoja Date: Tue, 12 Nov 2024 08:14:18 +0100 Subject: [PATCH] debug --- relay_client/src/websocket/stream.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/relay_client/src/websocket/stream.rs b/relay_client/src/websocket/stream.rs index 37d07b9..9836a17 100644 --- a/relay_client/src/websocket/stream.rs +++ b/relay_client/src/websocket/stream.rs @@ -236,8 +236,10 @@ impl ClientStream { if let Poll::Ready(Some(next_message)) = self.outbound_rx.poll_recv(cx) { println!("start send"); if let Err(err) = self.socket.start_send_unpin(next_message) { + println!("start send error {err:?}"); return Poll::Ready(Err(err)); } + println!("after start send"); should_flush = true; } else if should_flush {