Track what the the backup cleaner removed

This commit is contained in:
Girish Ramakrishnan
2019-01-11 12:48:40 -08:00
parent 0b33b0b6a2
commit 2acb065d38
4 changed files with 34 additions and 24 deletions

View File

@@ -58,7 +58,7 @@ function cleanupBackups(callback) {
if (p.percent !== 100) return setTimeout(waitForCleanup, 1000);
if (p.errorMessage) return callback(new Error('backup failed:' + p));
if (p.errorMessage) return callback(new Error('backup failed:' + p.errorMessage));
callback();
});