dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Include server in redis lua errors
[lhc/web/wiklou.git]
/
includes
/
clientpool
/
RedisConnectionPool.php
diff --git
a/includes/clientpool/RedisConnectionPool.php
b/includes/clientpool/RedisConnectionPool.php
index
ef71b18
..
f7653eb
100644
(file)
--- a/
includes/clientpool/RedisConnectionPool.php
+++ b/
includes/clientpool/RedisConnectionPool.php
@@
-336,7
+336,8
@@
class RedisConnRef {
}
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;