error message

This commit is contained in:
Adam 2024-09-01 15:28:36 -04:00
parent a34d92b663
commit 79b512ad3c

View file

@ -50,8 +50,7 @@ pub async fn websocket_on_connection(stream: WebSocket, state: Arc<AppState>, ad
),
addr,
))
.await
.unwrap();
.await.expect("User handler is down");
// Subscribe to receive from global broadcast channel
let mut rx = state.broadcast_tx.subscribe();