diff --git a/examples/client-transports.rs b/examples/client-transports.rs index e69f99a55..46b32899a 100644 --- a/examples/client-transports.rs +++ b/examples/client-transports.rs @@ -133,9 +133,9 @@ async fn main() { }); // Add the previously created transports. - redun.add(Box::new(udptcp_conn)).await; - redun.add(Box::new(tcp_conn)).await; - redun.add(Box::new(tls_conn)).await; + redun.add(Box::new(udptcp_conn)).await.unwrap(); + redun.add(Box::new(tcp_conn)).await.unwrap(); + redun.add(Box::new(tls_conn)).await.unwrap(); // Start a few queries. for _i in 1..10 {