X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fhttp%2FCurlHttpRequest.php;h=bab85216c02262c977393259a37ce4cd2a44546d;hb=334ee2f00c56290a80b6d76272f28f4997b2be04;hp=f457b2192ce2fb2e7c27697ce42999dfb589fe6a;hpb=f459a71f75941a83335d6d63ee12079a4b586793;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/http/CurlHttpRequest.php b/includes/http/CurlHttpRequest.php index f457b2192c..bab85216c0 100644 --- a/includes/http/CurlHttpRequest.php +++ b/includes/http/CurlHttpRequest.php @@ -98,6 +98,7 @@ class CurlHttpRequest extends MWHttpRequest { $curlHandle = curl_init( $this->url ); if ( !curl_setopt_array( $curlHandle, $this->curlOptions ) ) { + $this->status->fatal( 'http-internal-error' ); throw new InvalidArgumentException( "Error setting curl options." ); }