Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-246

Update bson.ErrTooSmall

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 0.0.2
    • 0.0.1
    • None
    • None

    Description

      The bson.ErrTooSmall error is used in many places, including being returned from deep recursive calls. This makes it extremely difficult to track down the stack that is generating the error. Make ErrTooSmall an error type that includes a stack trace when it's generated. Then change all the places where ErrTooSmall is used to create a new ErrTooSmall that includes a stack trace. This will greatly help in debugging problems with sizing.

      Attachments

        Activity

          People

            sam.rossi@mongodb.com Samuel Rossi (Inactive)
            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: