Tweak storage logging statement
// FREEBIE
This commit is contained in:
parent
7fb4d3d8aa
commit
d84400777f
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@
|
||||||
throw new Error("Tried to store undefined");
|
throw new Error("Tried to store undefined");
|
||||||
}
|
}
|
||||||
if (!ready) {
|
if (!ready) {
|
||||||
console.log('Called storage.put before storage is ready');
|
console.log('Called storage.put before storage is ready. key:', key);
|
||||||
}
|
}
|
||||||
var item = items.add({id: key, value: value}, {merge: true});
|
var item = items.add({id: key, value: value}, {merge: true});
|
||||||
item.save();
|
item.save();
|
||||||
|
|
Loading…
Reference in a new issue