airtable-php icon indicating copy to clipboard operation
airtable-php copied to clipboard

Add some degree of error handling

Open Phaen opened this issue 2 years ago • 1 comments

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.

Phaen avatar Nov 20 '22 20:11 Phaen

+1

stefanoortisi avatar Jan 20 '23 10:01 stefanoortisi