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

Cache error_text() instead of check_error() #552

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

mthuurne
Copy link
Contributor

In the case of an error, check_error() raises an exception and there is no return value to cache.

Closes #551

In the case of an error, `check_error()` raises an exception and
there is no return value to cache.

Closes gijzelaerr#551
@gijzelaerr gijzelaerr merged commit e1d2b3d into gijzelaerr:master Nov 13, 2024
93 checks passed
@mthuurne mthuurne deleted the cache-error-text branch November 14, 2024 11:52
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.

What is the purpose of @cache on snap7.error.check_error()?
2 participants