clean up logger

This commit is contained in:
Alex Holliday committed 2026-06-24 10:53:03 -07:00
1 parent 71d3e789ff
commit 74783fd738
15 files changed
+61 -47

No files matched your search

+1 -1
View File
@@ -42,7 +42,7 @@ class MongoDB implements IDb<Mongoose> {
// the unique index on MonitorStats.monitorId is enforced, otherwise databases
// with stray duplicates (caused by the pre-fix race in updateRunningStats)
// will crash at startup when the unique index fails to build.
await runMigrations();
await runMigrations(this.logger);
// Sync indexes
const models = mongoose.modelNames();