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

fix: isOnline should return false when node is offline #222

Merged

Conversation

achingbrain
Copy link
Member

If the node is offline, trying to invoke the api client results in an error being thrown.

If this happens the node is not online so return false instead.

If the node is offline, trying to invoke the api client results in
an error being thrown.

If this happens the node is not online so return false instead.
@achingbrain achingbrain merged commit e9436ca into master Apr 19, 2024
19 checks passed
@achingbrain achingbrain deleted the fix/is-online-should-return-false-when-node-is-offline branch April 19, 2024 11:29
github-actions bot pushed a commit that referenced this pull request Apr 19, 2024
## [4.0.1](v4.0.0...v4.0.1) (2024-04-19)

### Bug Fixes

* export api types from module root ([#223](#223)) ([7266128](7266128))
* isOnline should return false when node is offline ([#222](#222)) ([e9436ca](e9436ca))

### Trivial Changes

* remove timeout tests ([#226](#226)) ([d0c2820](d0c2820))
Copy link
Contributor

🎉 This PR is included in version 4.0.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant