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
- is duplicated by
-
MONGOCRYPT-861 Include crypt_shared / mongocryptd version in error
-
- Closed
-
- related to
-
DRIVERS-3401 Include mongocryptd version in errors
-
- Backlog
-