add debugs

This commit is contained in:
Girish Ramakrishnan
2017-09-30 20:36:08 -07:00
parent c524d68c2f
commit e089851ae9
+7 -1
View File
@@ -938,11 +938,17 @@ function cleanupSnapshots(backupConfig, callback) {
safe.fs.unlinkSync(path.join(paths.BACKUP_INFO_DIR, `${appId}.sync.cache.new`));
setSnapshotInfo(appId, null, function (/* ignoredError */) {
debug('cleanupSnapshots: cleaned up snapshot of app id %s', appId);
iteratorDone();
});
});
});
}, callback);
}, function () {
debug('cleanupSnapshots: done');
callback();
});
}
function cleanup(callback) {