From a92a23e8a24456c56957144808eb8d62a07a227c Mon Sep 17 00:00:00 2001 From: Brad Jorsch Date: Wed, 9 Mar 2016 12:43:21 -0500 Subject: [PATCH] HttpFunctions: Log in English Bug: T127233 Change-Id: Ie61030a21f5a5f5e46452c1b6b15db594d741b71 --- includes/HttpFunctions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/HttpFunctions.php b/includes/HttpFunctions.php index 600bd7969b..f980a93d56 100644 --- a/includes/HttpFunctions.php +++ b/includes/HttpFunctions.php @@ -80,7 +80,7 @@ class Http { } else { $errors = $status->getErrorsByType( 'error' ); $logger = LoggerFactory::getInstance( 'http' ); - $logger->warning( $status->getWikiText(), + $logger->warning( $status->getWikiText( null, null, 'en' ), [ 'error' => $errors, 'caller' => $caller, 'content' => $req->getContent() ] ); return false; } -- 2.20.1