Skip to content

Commit

Permalink
[TM-1452] Add some error logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
roguenet committed Nov 20, 2024
1 parent 5b19c20 commit b5b85de
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion jest/setup-jest-global.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ module.exports = async () => {
logging: false
});

await sequelize.sync();
try {
await sequelize.sync();
} catch (e) {
console.error("Error synchronizing database", e);
}
await sequelize.close();
};

0 comments on commit b5b85de

Please sign in to comment.