Log on failure to fetch storage

// FREEBIE
pull/749/head
lilia 9 years ago
parent 67c7a06c28
commit 83629df560

@ -58,7 +58,9 @@
fetch: function() {
return new Promise(function(resolve) {
items.fetch({reset: true}).always(resolve);
items.fetch({reset: true}).fail(function() {
console.log('Failed to fetch from storage');
}).always(resolve);
});
}
};

Loading…
Cancel
Save