diff --git a/system/Cache/Redis.php b/system/Cache/Redis.php index 21e91990..736c582a 100644 --- a/system/Cache/Redis.php +++ b/system/Cache/Redis.php @@ -284,7 +284,7 @@ class Redis extends Component } else { $data = $this->proxy()->{$name}(...$arguments); } - } catch (\Throwable $exception) { + } catch (RedisConnectException|\Throwable $exception) { if ($exception instanceof RedisConnectException) { throw new Exception($exception->getMessage()); }