Added curl_error when curl_exec returns false, per issue 48