diff --git a/System/Cache/Redis.php b/System/Cache/Redis.php index a8d44c88..912bf93f 100644 --- a/System/Cache/Redis.php +++ b/System/Cache/Redis.php @@ -72,7 +72,9 @@ class Redis extends Component } else { $client = $this->proxy(); $data = $client->{$name}(...$arguments); - var_dump($client->getLastError()); + if ($client->getLastError() !== null) { + var_dump($client->getLastError()); + } } return $data; }