Skip to content

Commit b565109

Browse files
committed
Uncomment console.log in database
There were some remarks about console.logs causing issues with pg-native, so I temporarily commented-out the console.logs. Anyway, these console.logs do not seem to be an issue. See: sequelize/sequelize#3781 (comment)
1 parent f6cff68 commit b565109

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

database/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ const db = {
3939
(async () => {
4040
try {
4141
await sequelize.authenticate();
42-
// console.log('Database connection has been established successfully.');
42+
console.log('Database connection has been established successfully.');
4343
} catch (error) {
44-
// console.error('Unable to connect to the database:', error);
44+
console.error('Unable to connect to the database:', error);
4545
}
4646
})();
4747

0 commit comments

Comments
 (0)