Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ws error handling #3

Merged
merged 1 commit into from
Jun 29, 2022
Merged

Add ws error handling #3

merged 1 commit into from
Jun 29, 2022

Conversation

dasanchez
Copy link
Collaborator

Closes #2
If a websockets client gets connected or disconnected at the wrong time, it may trigger an exception causing the program to stop.
try/except blocks now allow the program to keep running if this happens.

@dasanchez dasanchez merged commit b7eb69b into main Jun 29, 2022
@dasanchez dasanchez deleted the fix/ws-error-handling branch June 29, 2022 02:35
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.

Catch exceptions on websocket send operations
1 participant