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

Modify error handling #2

Merged
merged 9 commits into from
Dec 27, 2021
Merged

Modify error handling #2

merged 9 commits into from
Dec 27, 2021

Conversation

joeyates
Copy link
Contributor

This commit adds two callbacks, onError and onEvent to improve observability.

Attempts are made to recover from more error conditions, to avoid zombie connections that never reach 'connected' state.

@joeyates joeyates mentioned this pull request Dec 15, 2021
@stefanoverna
Copy link
Member

LGTM!

@stefanoverna stefanoverna merged commit c04687d into datocms:main Dec 27, 2021
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