改名
This commit is contained in:
@@ -284,7 +284,7 @@ class Redis extends Component
|
|||||||
} else {
|
} else {
|
||||||
$data = $this->proxy()->{$name}(...$arguments);
|
$data = $this->proxy()->{$name}(...$arguments);
|
||||||
}
|
}
|
||||||
} catch (\Throwable $exception) {
|
} catch (RedisConnectException|\Throwable $exception) {
|
||||||
if ($exception instanceof RedisConnectException) {
|
if ($exception instanceof RedisConnectException) {
|
||||||
throw new Exception($exception->getMessage());
|
throw new Exception($exception->getMessage());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user