log move error

This commit is contained in:
j 2015-04-11 00:40:32 +02:00
parent 2ae32cc2f0
commit c743ad7a71

View file

@ -69,7 +69,10 @@ pandora.fs = (function() {
that.fs.root.getFile(old, {}, function(fileEntry) { that.fs.root.getFile(old, {}, function(fileEntry) {
fileEntry.moveTo(that.fs.root, name); fileEntry.moveTo(that.fs.root, name);
callback(); callback();
}, callback); }, function() {
Ox.Log('FS', 'failed to move', old, name);
callback();
});
} }
that.cacheVideo = function(id, callback) { that.cacheVideo = function(id, callback) {