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

ProcessError should check for WriteCommandError, not WriteConcernError

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

      The extractError function in the operations layer creates either a driver.Error or driver.WriteCommandError, which can have a driver.WriteConcernError field inside it. The Server.ProcessError function should check for driver.WriteCommandError rather than directly checking for driver.WriteConcernError.

            Assignee:
            divjot.arora@mongodb.com Divjot Arora (Inactive)
            Reporter:
            divjot.arora@mongodb.com Divjot Arora (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: