Skip to content

Handle invalid comms topics and prevent uncaught exceptions - #6072

Merged
knolleary merged 1 commit into
mainfrom
fix-ws-error-handling
Nov 6, 2026
Merged

knolleary merged 1 commit into
mainfrom
fix-ws-error-handling

Conversation

@knolleary

Copy link
Copy Markdown
Member

Websocket comms handling assumed that topic would be a string. Also the regex used to validate topics missed some cases. This fixes all that, as well as adding some error handling to avoid uncaught errors - includes test cases.

@knolleary
knolleary merged commit 01d8093 into main Nov 6, 2026
3 checks passed
@knolleary
knolleary deleted the fix-ws-error-handling branch November 6, 2026 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant