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

Avoid rethrowing MongoConnectionException

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Unknown Unknown
    • None
    • None
    • Error Handling
    • None

    Description

      In WrapException logic we can already have MongoConnectionException if heartbeat was failed. It's better just throw income MongoConnectionException instead of wrapping it inside MongoConnectionException  one more time. At least this test is affected by this logic

      Attachments

        Activity

          People

            Unassigned Unassigned
            dmitry.lukyanov@mongodb.com Dmitry Lukyanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: