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

Update error handling for compatibility with latest pyModbusTCP #12

Merged
merged 1 commit into from
Feb 28, 2024

Conversation

peplin
Copy link
Collaborator

@peplin peplin commented Feb 28, 2024

The newer version converted the last_error method to a @property. There's also a new helper @property that converts error codes to strings for us, so I just opted to use that.

The newer version converted the `last_error` method to a @Property.
There's also a new helper @Property that converts error codes to strings for
us, so I just opted to use that.
@peplin peplin force-pushed the error-handling-modbus-latest branch from 15da723 to e4a1965 Compare February 28, 2024 20:40
@peplin peplin marked this pull request as ready for review February 28, 2024 20:40
@peplin peplin merged commit 280b12d into master Feb 28, 2024
1 check 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.

1 participant