jenkins-bot has submitted this change and it was merged.

Change subject: Make redis JobQueueConnectionError mention the host
......................................................................


Make redis JobQueueConnectionError mention the host

Change-Id: I00a43265a65de9c9fa58b7046770d754b7d27815
---
M includes/jobqueue/JobQueueRedis.php
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  BryanDavis: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/jobqueue/JobQueueRedis.php 
b/includes/jobqueue/JobQueueRedis.php
index 67420f0..546093f 100644
--- a/includes/jobqueue/JobQueueRedis.php
+++ b/includes/jobqueue/JobQueueRedis.php
@@ -749,7 +749,8 @@
        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;

-- 
To view, visit https://gerrit.wikimedia.org/r/258408
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I00a43265a65de9c9fa58b7046770d754b7d27815
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <asch...@wikimedia.org>
Gerrit-Reviewer: BryanDavis <bda...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to