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

Clarify where socket.error is translated to ConnectionFailure

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

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

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

              Created:
              Updated:
              Resolved: