You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
} while (++$hostIndex < \count($hosts) && !$address);
237
237
238
238
if (isset($params['redis_sentinel']) && !$address) {
239
-
thrownewInvalidArgumentException(sprintf('Failed to retrieve master information from sentinel "%s".', $params['redis_sentinel']));
239
+
thrownewInvalidArgumentException(sprintf('Failed to retrieve master information from sentinel "%s".', $params['redis_sentinel']), previous: $redisException ?? null);
if (!$address = $sentinelClient->getMasterAddrByName($sentinelMaster)) {
100
-
thrownewInvalidArgumentException(sprintf('Failed to retrieve master information from master name "%s" and address "%s:%d".', $sentinelMaster, $host, $port));
} while (++$hostIndex < \count($hosts) && !$address);
118
+
119
+
if (!$address) {
120
+
thrownewInvalidArgumentException(sprintf('Failed to retrieve master information from sentinel "%s".', $sentinelMaster), previous: $redisException ?? null);
0 commit comments