add migration complete logs

This commit is contained in:
Maidul Islam
2023-06-04 16:37:57 -07:00
parent 44b9533636
commit b9dfff1cd8
2 changed files with 10 additions and 6 deletions

View File

@@ -76,6 +76,7 @@ export const initSmtp = async () => {
.then((err) => { .then((err) => {
Sentry.setUser(null); Sentry.setUser(null);
Sentry.captureMessage('SMTP - Successfully connected'); Sentry.captureMessage('SMTP - Successfully connected');
console.log("SMTP - Successfully connected")
}) })
.catch(async (err) => { .catch(async (err) => {
Sentry.setUser(null); Sentry.setUser(null);

View File

@@ -64,6 +64,7 @@ export const backfillSecretVersions = async () => {
), ),
}); });
} }
console.log("Migration: Secret version migration v1 complete")
}; };
/** /**
@@ -370,4 +371,6 @@ export const backfillSecretFolders = async () => {
.populate<{ secretVersions: ISecretVersion[] }>("secretVersions") .populate<{ secretVersions: ISecretVersion[] }>("secretVersions")
.limit(50); .limit(50);
} }
console.log("Migration: Folder migration v1 complete")
}; };