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

Catch possible error in reconnect() on _heartbeat(), emit reconnect error #1179

Merged
merged 1 commit into from Jan 16, 2020
Merged

Catch possible error in reconnect() on _heartbeat(), emit reconnect error #1179

merged 1 commit into from Jan 16, 2020

Conversation

nickewansmith
Copy link
Contributor

This addresses a possible uncaught error on run of this._heartbeat and subsequently this.reconnect() as the reconnection promise could throw.

Emits an error event if this.reconnect() does throw as seen in other reconnect failures.

Copy link
Collaborator

@FKSRipple FKSRipple left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for the speedy fix

@FKSRipple FKSRipple merged commit 4a848ec into XRPLF:develop Jan 16, 2020
@nickewansmith
Copy link
Contributor Author

@FKSRipple , not sure of your release schedule. I'm wondering when the next release would be?

@nickewansmith nickewansmith removed the request for review from intelliot January 16, 2020 18:36
@intelliot
Copy link
Collaborator

We don't have a particular schedule and can do a release anytime one is warranted. It tends to be every 1-3 weeks but I can go ahead and do a release later today.

@nickewansmith nickewansmith deleted the fix-unhandled-rejection-warning-on-heartbeat branch January 16, 2020 21:04
@intelliot
Copy link
Collaborator

ripple-lib 1.6.2 released ✅

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.

None yet

3 participants