Add cURL error reporting