fix: 🐛 Fix incorrect docs, make exit code 0 instead of 1

This commit is contained in:
Jesse Wierzbinski 2024-06-13 23:26:20 -10:00
parent 641e712272
commit edbe6e45b2
No known key found for this signature in database
6 changed files with 20 additions and 17 deletions

View file

@ -34,7 +34,7 @@ export const setupDatabase = async (
"Database",
"Failed to connect to database. Please check your configuration.",
);
process.exit(1);
process.exit();
}
// Migrate the database
@ -52,7 +52,7 @@ export const setupDatabase = async (
"Database",
"Failed to migrate database. Please check your configuration.",
);
process.exit(1);
process.exit();
}
info && (await logger.log(LogLevel.Info, "Database", "Database migrated"));