fix(fullstack): prevent AlreadyBorrowed panic in WebSocket recv() (#5300)

This commit is contained in:
Kyle W. Rader authored and GitHub committed 2026-02-12 19:43:54 -08:00
1 parent d75d9642ef
commit 64cc42e16e
4 files changed
+80 -51

No files matched your search

+2 -1
View File
@@ -29,7 +29,8 @@ pub(crate) async fn proxy_websocket(
match handle_ws_connection(client_ws, proxied_request).await {
Ok(()) => tracing::trace!(dx_src = ?TraceSrc::Dev, "Websocket connection closed"),
Err(e) => {
tracing::error!(dx_src = ?TraceSrc::Dev, "Error proxying websocket connection: {e}")
// Connection resets during shutdown are expected and not worth logging as errors
tracing::debug!(dx_src = ?TraceSrc::Dev, "Error proxying websocket connection: {e}")
}
}
}))