We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d224e9c commit 06bc47bCopy full SHA for 06bc47b
src/models/db.ts
@@ -10,6 +10,7 @@ knex.raw("SELECT 'test connection';").then(() => {
10
logger.info(database.connectionSuccess);
11
}).catch((err) => {
12
logger.error(database.connectionFailure);
13
+ process.exit(1);
14
throw err;
15
});
16
0 commit comments