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

Capture all BSON decode errors and wrap with InvalidBSON

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.7
    • Affects Version/s: None
    • Component/s: None
    • None

      Various bad things can happen to either the pure-Python BSON decoder or the C BSON decoder while decoding garbage. Make sure all are wrapped in InvalidBSON, while still making the underlying exception available so we can see it in customer's stack traces.

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

              Created:
              Updated:
              Resolved: