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

Don't double dots in the end of encryption exception message

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None
    • None

    Description

      Currently we can generate doubled "dot"s in the end of encryption exception message here: https://github.com/mongodb/mongo-csharp-driver/blob/master/src/MongoDB.Driver/Encryption/MongoEncryptionException.cs#L32 if the original inner exception also is ended on dot. Which means that the final exception message can be similar to:

      Encryption related exception: The remote certificate is invalid according to the validation procedure..
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: