Increment warning count on volume mount failure
This commit is contained in:
parent
5a4f4641b4
commit
a71009ff78
1 changed files with 1 additions and 0 deletions
|
|
@ -407,6 +407,7 @@ async function importBackupSchedules(backupSchedules: unknown[]): Promise<Import
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
const err = e instanceof Error ? e : new Error(String(e));
|
const err = e instanceof Error ? e : new Error(String(e));
|
||||||
logger.warn(`Could not mount volume ${volume.name}: ${err.message}`);
|
logger.warn(`Could not mount volume ${volume.name}: ${err.message}`);
|
||||||
|
result.warnings++;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue