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: catch error thrown in getMultipleHoldingRegisters #543

Merged

Conversation

everhardt
Copy link
Contributor

@everhardt everhardt commented Jan 31, 2024

It's inconsistent that a rejected promise returned by getMultipleHoldingRegisters and a callback with and error are handled, but a synchronous throw is not. This PR fixes that.

@yaacov
Copy link
Owner

yaacov commented Jan 31, 2024

💚 Thanks

@yaacov yaacov merged commit 6be368c into yaacov:master Jan 31, 2024
3 checks passed
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