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

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.0
    • None
    • Error Handling
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: