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

fix: handle curl errors like outages and timeouts #37

Closed
wants to merge 1 commit into from
Closed

fix: handle curl errors like outages and timeouts #37

wants to merge 1 commit into from

Conversation

endroid
Copy link

@endroid endroid commented Jun 12, 2024

As described in #28 cURL errors like timeouts, unresolved domains or server outages are not handled so from outside the library there is no way to know what went wrong. This PR checks if any cURL error occurred before continuing and throws a proper exception indicating the issue.

@endroid endroid closed this by deleting the head repository Jun 20, 2024
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