Include crypt_shared version in error messages produced by crypt_shared

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Unknown
    • 1.18.0
    • Affects Version/s: None
    • Component/s: None
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Proposal: include version of crypt_shared in error messages for errors produced by crypt_shared.

      For example instead of:

      csfle "analyze_query" failed: Enumeration value 'range' for field 'create.encryptedFields.fields.queryType' is not a valid value. [Error 2, code 2]

      Include the version of crypt shared:

      Error in "analyze_query" from crypt_shared 7.0.0-rc0: Enumeration value 'range' for field 'create.encryptedFields.fields.queryType' is not a valid value. [Error 2, code 2]

      Motivation this error was encountered during internal testing. It was not immediately clear that the cause was a too-old crypt shared. See slack

            Assignee:
            Kevin Albertson
            Reporter:
            Kevin Albertson
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: