From e0f29b28c437b9e490a81091360bf21ea24f46f2 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Thu, 29 Mar 2018 17:11:29 -0700 Subject: [PATCH] (dev/core#178) Redis - Report error messages --- CRM/Utils/Cache/Redis.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Utils/Cache/Redis.php b/CRM/Utils/Cache/Redis.php index 07279d530d..768588f606 100644 --- a/CRM/Utils/Cache/Redis.php +++ b/CRM/Utils/Cache/Redis.php @@ -117,7 +117,7 @@ class CRM_Utils_Cache_Redis implements CRM_Utils_Cache_Interface { */ public function set($key, &$value) { if (!$this->_cache->set($this->_prefix . $key, serialize($value), $this->_timeout)) { - CRM_Core_Error::fatal("Redis set failed, wondering why?, $key", $value); + CRM_Core_Error::fatal("Redis set ($key) failed: " . $this->_cache->getLastError(), $value); return FALSE; } return TRUE; -- 2.25.1