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

Update bson.ErrTooSmall

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.0.2
    • Affects Version/s: 0.0.1
    • Component/s: None
    • None

      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.

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

              Created:
              Updated:
              Resolved: