diff --git a/jstorage.js b/jstorage.js index 1ac8fcc..6f0e45b 100644 --- a/jstorage.js +++ b/jstorage.js @@ -466,7 +466,10 @@ _storage_elm.save('jStorage'); } _storage_size = _storage_service.jStorage ? String(_storage_service.jStorage).length : 0; - } catch (E7) { /* probably cache is full, nothing is saved this way*/ } + } catch (E7) { + /* probably cache is full, nothing is saved this way*/ + console.log("jStorage: Cache is full!"); + } } /** @@ -993,4 +996,4 @@ // Initialize jStorage _init(); -})(); \ No newline at end of file +})();