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

ProcessError should check for WriteCommandError, not WriteConcernError

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.1
    • Component/s: None
    • Security Level: Public
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            divjot.arora Divjot Arora
            Reporter:
            divjot.arora Divjot Arora
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: