Skip to content

Fix chatbox crash...again#9

Merged
Ale32bit merged 1 commit intoReconnectedCC:mainfrom
qrmcat:fix-ai-rant-crash
Sep 2, 2025
Merged

Fix chatbox crash...again#9
Ale32bit merged 1 commit intoReconnectedCC:mainfrom
qrmcat:fix-ai-rant-crash

Conversation

@qrmcat
Copy link
Contributor

@qrmcat qrmcat commented Sep 1, 2025

Apparently just having a check in the top of the ticking wasn't enough, as the websocket connection may close while the message is being processed, leading to a WebsocketNotConnectedException crashing the minecraft server.
This PR fixes this by handling said exception gracefully, just printing a warning message about it

scmcgowen added a commit to maple-modworks/maple-chatbox that referenced this pull request Sep 1, 2025
@Ale32bit Ale32bit added the enhancement New feature or request label Sep 2, 2025
@Ale32bit Ale32bit self-assigned this Sep 2, 2025
@Ale32bit Ale32bit merged commit f1aa3bc into ReconnectedCC:main Sep 2, 2025
1 of 2 checks passed
@qrmcat qrmcat deleted the fix-ai-rant-crash branch September 2, 2025 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants