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

This commit is contained in:
2026-04-16 01:53:50 -04:00
parent 784ec5e867
commit 766582c9e8

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_gateway::error::Event::GatewayClose(frame_option)) => { Err(twilight_model::gateway::Event::GatewayClose(frame_option)) => {
tracing::warn!(?frame_option); tracing::warn!(?frame_option);
return; return;
} }