jenkins-bot has submitted this change and it was merged.

Change subject: Include server in redis lua errors
......................................................................


Include server in redis lua errors

Change-Id: Ib8dbed08fa9d8010d496475de44f61aca31fd410
---
M includes/clientpool/RedisConnectionPool.php
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Chad: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/clientpool/RedisConnectionPool.php 
b/includes/clientpool/RedisConnectionPool.php
index ef71b18..f7653eb 100644
--- a/includes/clientpool/RedisConnectionPool.php
+++ b/includes/clientpool/RedisConnectionPool.php
@@ -336,7 +336,8 @@
                }
 
                if ( $conn->getLastError() ) { // script bug?
-                       wfDebugLog( 'redis', "Lua script error: " . 
$conn->getLastError() );
+                       $server = $this->server;
+                       wfDebugLog( 'redis', "Lua script error on server 
$server: " . $conn->getLastError() );
                }
 
                return $res;

-- 
To view, visit https://gerrit.wikimedia.org/r/93603
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib8dbed08fa9d8010d496475de44f61aca31fd410
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Chad <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to