Skip to content

Commit

Permalink
Debugging server
Browse files Browse the repository at this point in the history
  • Loading branch information
realpxd authored Jan 21, 2024
1 parent db86123 commit 6853e74
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x-clone-backend/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ const connectDB = async () => {
} catch (err) {
console.log('Error connecting to database: ', err);
console.log('Retrying connection in 5 seconds...');
console.log('Connecting to MongoDB with URI:', uri);
setTimeout(() => {
connectDB()
}, 5000);
Expand Down

0 comments on commit 6853e74

Please sign in to comment.