From b80b2c18db58caac28b09395538960da68e4f8eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 4 Jun 2021 18:21:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- System/Cache/Redis.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/System/Cache/Redis.php b/System/Cache/Redis.php index 992f3549..a8d44c88 100644 --- a/System/Cache/Redis.php +++ b/System/Cache/Redis.php @@ -70,7 +70,9 @@ class Redis extends Component if (method_exists($this, '____' . $name)) { $data = $this->{'____' . $name}(...$arguments); } else { - $data = $this->proxy()->{$name}(...$arguments); + $client = $this->proxy(); + $data = $client->{$name}(...$arguments); + var_dump($client->getLastError()); } return $data; }