diff options
author | Urban Müller | 2013-10-17 13:45:36 +0000 |
---|---|---|
committer | Urban Müller | 2013-10-17 13:45:36 +0000 |
commit | 510d405956cb577423c7923e6c103d61d4d22179 (patch) | |
tree | 5716c7cbc61de875efa224afcde4989577599c1d | |
parent | df01a22705e1d560d3932fd482f5dcf2ecb5eca7 (diff) | |
download | itools-510d405956cb577423c7923e6c103d61d4d22179.tar.gz itools-510d405956cb577423c7923e6c103d61d4d22179.tar.bz2 itools-510d405956cb577423c7923e6c103d61d4d22179.zip |
better err msg for it_cache::put
-rw-r--r-- | it_cache.class | 2 |
1 files changed, 1 insertions, 1 deletions
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 |