ProcessError should check for WriteCommandError, not WriteConcernError

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.4.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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 (Inactive)
              Reporter:
              Divjot Arora (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: