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

Streaming example: implement onerror() #1076

Merged
merged 1 commit into from
Oct 7, 2024
Merged

Conversation

RuneRogue
Copy link
Contributor

I have added error handling . It catches the error that occurs during the streaming process. When an error occurs, the code waits for 5 seconds and tries to reconnect by calling the es() function again.

fixed #520

Copy link
Contributor

@Shaptic Shaptic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Thanks 👏

@RuneRogue
Copy link
Contributor Author

@Shaptic I am Glad to work on this project. I'll keep contributing.

@Shaptic Shaptic merged commit b13c291 into stellar:master Oct 7, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Streaming example: implement onerror()
2 participants