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

Improve disconnection handling #26

Merged
merged 1 commit into from
Jan 23, 2025
Merged

Conversation

aarthificial
Copy link
Contributor

@aarthificial aarthificial commented Jan 23, 2025

Makes sure the react SDK behaves correctly when the server terminates the connection.

onDisconnect now receives a disconnection reason (user, agent, error) and a human-readable message in case of an error.

Our backend will soon start sending much clearer and more precise error messages.

@aarthificial aarthificial requested a review from gmrchk January 23, 2025 20:12
@aarthificial aarthificial merged commit 8a78bea into main Jan 23, 2025
3 checks passed
@aarthificial aarthificial deleted the improve-disconnection-handling branch January 23, 2025 20:40
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.

2 participants