Skip to content

prevent frontend lockup when bad things happen on the server#7941

Merged
NoahTheDuke merged 1 commit intomtgred:masterfrom
NBKelly:prevent-lockup-when-server-fails
Feb 22, 2025
Merged

prevent frontend lockup when bad things happen on the server#7941
NoahTheDuke merged 1 commit intomtgred:masterfrom
NBKelly:prevent-lockup-when-server-fails

Conversation

@NBKelly
Copy link
Collaborator

@NBKelly NBKelly commented Feb 3, 2025

Turns out the try/catch had to go inside the thread. Whoops.

This should get us our error stacktraces back, and error logs on the frontend (for the last few months, if there was an error, the front-end would appear to lock up because it never got a response that you were allowed to act again).

Closes #7862

@NoahTheDuke NoahTheDuke merged commit 138103e into mtgred:master Feb 22, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Prompts freeze the gamestate instead of throwing errors when doing something invalid

2 participants