Tweaks to RELEASE-NOTES needed before tagging 1.34.0-rc.0
[lhc/web/wiklou.git] / includes / sparql / SparqlClient.php
index 778a3b3..20fc9b3 100644 (file)
@@ -170,7 +170,7 @@ class SparqlClient {
                $status = $request->execute();
 
                if ( !$status->isOK() ) {
-                       throw new SparqlException( "HTTP error: {$status->getWikiText()}" );
+                       throw new SparqlException( 'HTTP error: ' . $status->getWikiText( false, false, 'en' ) );
                }
                $result = $request->getContent();
                \Wikimedia\suppressWarnings();