Replies: 2 comments 1 reply
-
Yeah I haven't quite decided what to do when recovering. I was wondering whether its worth to force the player to reconnect, since the state could potentially be broken, as the player sent an event that might have been dropped without the player noticing. I am not sure what the safest / cleanest solution would be. |
Beta Was this translation helpful? Give feedback.
0 replies
-
The panic is triggered by your business logic, it does not cause the connection to close. I'd like to just print the error stack, and fix the problem. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
https://github.com/scribble-rs/scribble.rs/blob/master/internal/api/ws.go#L26
https://github.com/scribble-rs/scribble.rs/blob/master/internal/api/ws.go#L148
Beta Was this translation helpful? Give feedback.
All reactions