be more explicit on cURL errors