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

Return error codes when calling execHTTPcheck #89

Closed
grunnels opened this issue Jun 25, 2022 · 0 comments · Fixed by #95
Closed

Return error codes when calling execHTTPcheck #89

grunnels opened this issue Jun 25, 2022 · 0 comments · Fixed by #95

Comments

@grunnels
Copy link

It would be helpful to return a code instead of a boolean when calling execHTTPcheck. The code could return why the function failed. Was it because of version check? Couldn't locate the server? Couldn't find the file? etc.

Alternatively you could call an additional function when execHTTPcheck returns false. This additional function could return the details.

@tobozo tobozo mentioned this issue Sep 19, 2022
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 a pull request may close this issue.

1 participant