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

Capture all BSON decode errors and wrap with InvalidBSON

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • 2.7
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: