yykaue opened a new pull request, #6962: URL: https://github.com/apache/shenyu/pull/6962
Closes #6843 This PR fixes the unhandled exception issue in `ShenyuWebsocketClient.onMessage()`. The WebSocket client now catches exceptions raised while processing messages, logs the error, and drops the invalid message without terminating the reader thread. The added regression tests cover: - Malformed JSON messages. - Unknown `groupType` values. - Unknown `eventType` values. - Existing valid message processing behavior. ## Tests - WebSocket client tests passed: 18/18. - WebSocket sync module tests passed: 48/48. - Checkstyle passed. @Aias00, could you please help review this PR? Thanks! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
