You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently there's no specific error type when this happens, it's a plain fmt.Errorf error. Could you share a bit more context as to why this is happening and why you consider the error to be OK to ignore?
Activity
mafredri commentedon Feb 20, 2025
Currently there's no specific error type when this happens, it's a plain
fmt.Errorf
error. Could you share a bit more context as to why this is happening and why you consider the error to be OK to ignore?switchupcb commentedon Feb 21, 2025
This error happens when you attempt to close a connected websocket.
Here is the code that causes this error (when the error is not ignored).
disconnect()
closes a websocket: https://github.com/switchupcb/disgo/blob/v10/wrapper/session_routine_manager.go#L267disconnect()
definition: https://github.com/switchupcb/disgo/blob/v10/wrapper/session_routine_manager_actions.go#L298It is OK to ignore because my code works when I ignore it.