Skip to content

Commit ef71660

Browse files
sy-recordslimingxinleo
authored andcommitted
Fix typos (#943)
1 parent cb7fc6d commit ef71660

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/RedisConnection.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ protected function createRedisCluster()
158158

159159
$redis = new \RedisCluster($name, $seeds, $timeout);
160160
} catch (\Throwable $e) {
161-
throw new ConnectionException('Connection reconnect failed. ' . $e->getMessage());
161+
throw new ConnectionException('Connection reconnect failed ' . $e->getMessage());
162162
}
163163

164164
return $redis;
@@ -167,7 +167,7 @@ protected function createRedisCluster()
167167
protected function retry($name, $arguments, \Throwable $exception)
168168
{
169169
$logger = $this->container->get(StdoutLoggerInterface::class);
170-
$logger->warning(sprintf('Redis::__call failed, bacause ' . $exception->getMessage()));
170+
$logger->warning(sprintf('Redis::__call failed, because ' . $exception->getMessage()));
171171

172172
try {
173173
$this->reconnect();

0 commit comments

Comments
 (0)