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