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

Add some degree of error handling #56

Open
Phaen opened this issue Nov 20, 2022 · 1 comment
Open

Add some degree of error handling #56

Phaen opened this issue Nov 20, 2022 · 1 comment

Comments

@Phaen
Copy link

Phaen commented Nov 20, 2022

When cURL fails and returns null, the library just passes that on with no clean way to diagnose the issue. I found myself using a closure so I can access the private cURL handle and use curl_error() to retrieve the actual error. If the library can provide a method to access the error or expose the cURL handle, that would be lovely.

@stefanoortisi
Copy link

+1

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

2 participants