diff --git a/examples/websocket/src/client.rs b/examples/websocket/src/client.rs index e35c71bb1..8dc410a78 100644 --- a/examples/websocket/src/client.rs +++ b/examples/websocket/src/client.rs @@ -22,7 +22,7 @@ fn main() { Arbiter::handle().spawn( WsClient::new("http://127.0.0.1:8080/ws/") - .connect().unwrap() + .connect() .map_err(|e| { println!("Error: {}", e); ()