fix(redis): include host in connection error message
This commit is contained in:
@@ -112,7 +112,7 @@ final class RedisConnection implements RedisConnectionInterface
|
||||
$this->connected = false;
|
||||
|
||||
throw new RedisConnectionException(
|
||||
"Failed to connect to Redis ({$this->name}): " . $e->getMessage() . " with Database: {$this->config->database}",
|
||||
"Failed to connect to Redis ({$this->name}): " . $e->getMessage() . " with Host: {$this->config->host}",
|
||||
previous: $e
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user