diff --git a/www/common/outer/cache-store.js b/www/common/outer/cache-store.js index 884d98914..fdb1f7668 100644 --- a/www/common/outer/cache-store.js +++ b/www/common/outer/cache-store.js @@ -49,7 +49,10 @@ define([ } cb(null, obj.c); obj.t = +new Date(); - cache.setItem(id, obj); + cache.setItem(id, obj, function (err) { + if (!err) { return; } + console.error(err); + }); }); }); }; @@ -81,7 +84,10 @@ define([ } cb(null, obj); obj.t = +new Date(); - cache.setItem(id, obj); + cache.setItem(id, obj, function (err) { + if (!err) { return; } + console.error(err); + }); }); }); };