From: Aaron Schulz Date: Fri, 11 Dec 2015 02:34:21 +0000 (-0800) Subject: Make redis JobQueueConnectionError mention the host X-Git-Tag: 1.31.0-rc.0~8730^2 X-Git-Url: http://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_vote_add%27%29%20%7D%7D?a=commitdiff_plain;h=2878c6443addb91d698d06ae19122db08ce25aa6;p=lhc%2Fweb%2Fwiklou.git Make redis JobQueueConnectionError mention the host Change-Id: I00a43265a65de9c9fa58b7046770d754b7d27815 --- diff --git a/includes/jobqueue/JobQueueRedis.php b/includes/jobqueue/JobQueueRedis.php index 67420f0957..546093f4d9 100644 --- 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;