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

feat: emitting connection_error if a connection fails #216

Merged
merged 1 commit into from
Jul 20, 2021

Conversation

andreabadesso
Copy link
Contributor

Motivation

On the daemon we get no information when a websocket connection fails, the Connection class will just silently keep retrying the connection to the fullnode.

On this PR, I will emit a connection_error event so the daemon can listen to it and log the connection error

@andreabadesso andreabadesso self-assigned this Jul 20, 2021
@andreabadesso andreabadesso added the enhancement New feature or request label Jul 20, 2021
@andreabadesso andreabadesso merged commit 77deff8 into dev Jul 20, 2021
@andreabadesso andreabadesso deleted the feat/ws-emit-errors branch July 20, 2021 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants