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

_query method has odd returns #7

Open
TomFaulkner opened this issue Apr 15, 2017 · 1 comment
Open

_query method has odd returns #7

TomFaulkner opened this issue Apr 15, 2017 · 1 comment

Comments

@TomFaulkner
Copy link
Owner

_query method returns an output or false, this is likely better handled by an exception

The query method is used in many functions, would add a lot of exception handling. Perhaps return a boolean and the value / empty string

@TomFaulkner
Copy link
Owner Author

Perhaps include a retry or two on queries as well. Though, this would slow things down if sending irrelevant queries to a device.

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

No branches or pull requests

1 participant