From 2878c6443addb91d698d06ae19122db08ce25aa6 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 10 Dec 2015 18:34:21 -0800 Subject: [PATCH] Make redis JobQueueConnectionError mention the host Change-Id: I00a43265a65de9c9fa58b7046770d754b7d27815 --- includes/jobqueue/JobQueueRedis.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.20.1