Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-1097

Add ConnectionId to MongoException (or some suitable subclass of it)

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.0
    • Affects Version/s: None
    • Component/s: Error Handling
    • None

      When diagnosing why an exception was thrown it is often necessary to refer to the server logs. In order to do so, the following information is needed:

      1. In a multiple server deployment, we need to know which server's logs to look at

      2. We need to know the server's connection Id to find the corresponding entry in the server's log

      Adding a ConnectionId to MongoException would provide that information.

            Assignee:
            robert@mongodb.com Robert Stam
            Reporter:
            robert@mongodb.com Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: