Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-1965

More useful error when bulk writes fail

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.3.0
    • Affects Version/s: 3.2.3
    • Component/s: MongoDB 3.4
    • Labels:

      I've spent a good amount of time debugging a test in my suite that kept failing with an unspecific `BulkWriteError: write operation failed`.

      This time would've been saved if the error included the reason why the write operation failed, such as the first item from writeErrors.

            Assignee:
            sam.pal@mongodb.com Samiksha Pal (Inactive)
            Reporter:
            dandv Dan Dascalescu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: