mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
fix: 🐛 Fix incorrect docs, make exit code 0 instead of 1
This commit is contained in:
parent
641e712272
commit
edbe6e45b2
6 changed files with 20 additions and 17 deletions
|
|
@ -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"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue