From 70875be4b9aab5a511f66dffc14478cca4902cc5 Mon Sep 17 00:00:00 2001 From: Michael Schiemer Date: Sun, 2 Nov 2025 02:06:29 +0100 Subject: [PATCH] fix(redis): include host in connection error message --- src/Framework/Redis/RedisConnection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Framework/Redis/RedisConnection.php b/src/Framework/Redis/RedisConnection.php index 23389666..aacf7ecf 100644 --- a/src/Framework/Redis/RedisConnection.php +++ b/src/Framework/Redis/RedisConnection.php @@ -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 ); }