Added curl_error() on curl_exec returning false