diff --git a/simple-wisp-client/src/main.rs b/simple-wisp-client/src/main.rs index b530f64..2b3ca0e 100644 --- a/simple-wisp-client/src/main.rs +++ b/simple-wisp-client/src/main.rs @@ -91,7 +91,7 @@ async fn main() -> Result<(), Box> { let (rx, tx) = ws.split(tokio::io::split); let rx = FragmentCollectorRead::new(rx); - let (mux, fut) = ClientMux::new(rx, tx); + let (mux, fut) = ClientMux::new(rx, tx).await?; tokio::task::spawn(fut);