fix: I REALLY did this without rust-analyzer so THIS TIME fix the gateway close error path

This commit is contained in:
2026-04-16 01:57:30 -04:00
parent 766582c9e8
commit 6a1d8f060f

View File

@@ -340,7 +340,7 @@ async fn handle_events(command_router: Arc<CommandRouter>, state: State, mut sha
Ok(event) => { Ok(event) => {
handle_event(command_router.clone(), state.clone(), event).await; handle_event(command_router.clone(), state.clone(), event).await;
} }
Err(twilight_model::gateway::Event::GatewayClose(frame_option)) => { Err(twilight_model::gateway::event::Event::GatewayClose(frame_option)) => {
tracing::warn!(?frame_option); tracing::warn!(?frame_option);
return; return;
} }