Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detailed error message for better debugging #2075

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

tejaschauhan36912
Copy link

  • Enhanced error message with more details for better debugging experience.

@Jibola Jibola requested a review from sleepyStick January 24, 2025 19:26
Copy link
Contributor

@sleepyStick sleepyStick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi! Thanks for doing this!
Just a couple quick fixes, but otherwise this is looking great!

Would you mind running pre-commit run --all-files so the synchronous files are generated properly? In general, we edit files in pymongo/asynchronous/* instead of pymongo/synchronous/*.

Thanks!

pymongo/synchronous/client_session.py Show resolved Hide resolved
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The synchronous version of this file (and a few others) don't seem to have all the changes here. (It has some but not all.) Could you try re-running pre-commit (pre-commit run --all-files) and then committing again?

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.

2 participants