server: add debug message for WS connection
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user