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

Add selected server info to error messages

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Go Drivers

      Context

      Adding selected server info to error messages would improve debugging.

      Definition of done

      Include the server name and address in errors that originated from the server. Following the guideline form DRIVERS-2170:

      {qupte}

      Any driver that includes server information in an exception or error message must ensure that the exception or message refers to the server that originated the error. For example, during a retry of a failed read or write, the original server must not simply be carried over to a subsequent error.

      Pitfalls

      To avoid confusing behavior, we don't want to include server information on errors that do not originate with the server.

            Assignee:
            Unassigned Unassigned
            Reporter:
            preston.vasquez@mongodb.com Preston Vasquez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: