dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
040c63c
)
Make redis JobQueueConnectionError mention the host
author
Aaron Schulz
<aschulz@wikimedia.org>
Fri, 11 Dec 2015 02:34:21 +0000
(18:34 -0800)
committer
BryanDavis
<bdavis@wikimedia.org>
Fri, 11 Dec 2015 21:39:02 +0000
(21:39 +0000)
Change-Id: I00a43265a65de9c9fa58b7046770d754b7d27815
includes/jobqueue/JobQueueRedis.php
patch
|
blob
|
history
diff --git
a/includes/jobqueue/JobQueueRedis.php
b/includes/jobqueue/JobQueueRedis.php
index
67420f0
..
546093f
100644
(file)
--- a/
includes/jobqueue/JobQueueRedis.php
+++ b/
includes/jobqueue/JobQueueRedis.php
@@
-749,7
+749,8
@@
LUA;
protected function getConnection() {
$conn = $this->redisPool->getConnection( $this->server );
if ( !$conn ) {
- throw new JobQueueConnectionError( "Unable to connect to redis server." );
+ throw new JobQueueConnectionError(
+ "Unable to connect to redis server {$this->server}." );
}
return $conn;