Aaron Schulz has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/93603


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(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/03/93603/1

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: newchange
Gerrit-Change-Id: Ib8dbed08fa9d8010d496475de44f61aca31fd410
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>

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

Reply via email to