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

Avoid rethrowing MongoConnectionException

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: Error Handling
    • None

      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

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

              Created:
              Updated: