fix: I did this without rust-analyzer so fix the gateway close error path
This commit is contained in:
@@ -340,7 +340,7 @@ async fn handle_events(command_router: Arc<CommandRouter>, state: State, mut sha
|
||||
Ok(event) => {
|
||||
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);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user