Skip to content

Add success log and improve MongoDB error handling#23

Open
Sam12354 wants to merge 2 commits intomongodb-developer:masterfrom
Sam12354:fix-mongodb-logging
Open

Add success log and improve MongoDB error handling#23
Sam12354 wants to merge 2 commits intomongodb-developer:masterfrom
Sam12354:fix-mongodb-logging

Conversation

@Sam12354
Copy link
Copy Markdown

@Sam12354 Sam12354 commented Apr 5, 2026

  • Added console log when MongoDB connects successfully.
  • Improved error message to be more descriptive.
  • Added 'const' declaration for databasesList variable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant