server: add debug message for WS connection

This commit is contained in:
Bill Thiede 2025-04-15 20:37:35 -07:00
parent 1832d77e78
commit 9d232b666b

View File

@ -158,6 +158,7 @@ async fn start_ws(
connection_tracker, ..
}): State<AppState>,
) -> impl IntoResponse {
info!("intiating websocket connection for {addr}");
ws.on_upgrade(async move |socket| connection_tracker.lock().await.add_peer(socket, addr).await)
}