Fix progress message
This commit is contained in:
@@ -759,7 +759,7 @@ async function startMail(existingInfra) {
|
||||
debug(`startMail: downloading backup ${results[0].id}`);
|
||||
const restoreConfig = { backupId: results[0].id, backupFormat: results[0].format };
|
||||
// have to wait for download before starting mail container because we download as non-root user
|
||||
await backuptask.downloadMail(restoreConfig, (message) => debug(`startMail: ${message}`));
|
||||
await backuptask.downloadMail(restoreConfig, (progress) => debug(`startMail: ${progress.message}`));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user