style: Add comment for migration failures

This commit is contained in:
zkldi
2022-04-21 17:31:19 +01:00
parent 9fe155bf71
commit cb7e9f8946
+2
View File
@@ -74,6 +74,8 @@ export async function ApplyUnappliedMigrations() {
for (const migrationID of unapplied) {
// These things need to apply in lockstep.
// Note that if any migration fails, this will exit at CRIT level
// and not continue.
// eslint-disable-next-line no-await-in-loop
await ApplyMigration(migrationID);
}