Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-728

Clarify where socket.error is translated to ConnectionFailure

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.0
    • None
    • None

    Description

      PyMongo should raise only ConnectionFailure or its subclass AutoReconnect, never socket.error. Clarify which layer, internally, is responsible for translating socket.error exceptions.

      Attachments

        Activity

          People

            jesse@mongodb.com A. Jesse Jiryu Davis
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: