diff --git a/src/main.rs b/src/main.rs index 1f2276b..fa97280 100644 --- a/src/main.rs +++ b/src/main.rs @@ -87,7 +87,9 @@ fn main() { } }; - socket.write_message(Message::Text(message_string)).unwrap(); + socket + .write_message(Message::Text(message_string)) + .expect("Error sending message"); let server_message = socket.read_message().expect("Error reading message"); let server_response: message_types::ServerResponse =