From 510d405956cb577423c7923e6c103d61d4d22179 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Thu, 17 Oct 2013 13:45:36 +0000 Subject: better err msg for it_cache::put --- it_cache.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it_cache.class') diff --git a/it_cache.class b/it_cache.class index 3641d59..f4c7bfd 100644 --- a/it_cache.class +++ b/it_cache.class @@ -83,7 +83,7 @@ static function put($key, $value, $p = array()) } if (!$success) - it::error("it_cache::put failed"); + it::error(($p['distributed'] ? "memcache" : self::$_store_func) . " in it_cache::put failed for key '$key'"); $GLOBALS['it_cache_local'][$key] = $value; # Also store local copy -- cgit v1.2.3