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

    • Improvement
    • Status: Closed
    • Minor - P4
    • Resolution: Duplicate
    • 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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: