Skip to content

Commit 5d773d2

Browse files
committed
add error message
1 parent b0cc908 commit 5d773d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Redis/Connections/PhpRedisConnection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ public function command($method, array $parameters = [])
530530
try {
531531
return parent::command($method, $parameters);
532532
} catch (RedisException $e) {
533-
if (Str::contains($e->getMessage(), ['went away', 'socket', 'read error on connection', 'Connection lost'])) {
533+
if (Str::contains($e->getMessage(), ['went away', 'socket', 'Error while reading', 'read error on connection', 'Connection lost'])) {
534534
$this->client = $this->connector ? call_user_func($this->connector) : $this->client;
535535
}
536536

0 commit comments

Comments
 (0)