Skip to content

Commit

Permalink
initialize repo
Browse files Browse the repository at this point in the history
  • Loading branch information
red2n committed Dec 9, 2024
1 parent d104df4 commit 800be88
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/starter/src/mongo/mongoEssentials.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ export class MongoEssentials {
});
await client.connect().then(() => {
app.log.info(CONNECTED_TO_MONGODB_MESSAGE);
}).catch((error) => {
throw error;
});
clearTimeout(timeout);
return client;
Expand Down

0 comments on commit 800be88

Please sign in to comment.