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

Better error handling needed when requesting full hashes fails #7

Closed
papaiatis opened this issue Jun 28, 2017 · 1 comment
Closed
Assignees

Comments

@papaiatis
Copy link
Contributor

When I call $gsb->lookup(...) sometimes I see this message in the logs: Full hash request failed but my client software keeps working because the lookup method returns an empty array back, thus I don't really have the chance to catch this error.

I would expect this method to either throw an exception or return back an error flag in cases of this.

@juliensobrier
Copy link
Owner

last_error is now updated when the full hash request fails

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants