Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-4286

Improve error handling for invalid cryptSharedLibPath

    • Type: Icon: Improvement Improvement
    • Resolution: Works as Designed
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • 2
    • Not Needed

      How are you using Mongo? What version of the server and driver are you using?

      Queryable Encryption. MongoDB 6.0.0-rc8, driver 4.6.0, mongodb-client-encrytpion 2.2.0-alpha.1

      What is the feature/improvement you would like?

      If a user specifies an incorrect path to cryptSharedLibPath there is no helpful error message

      TypeError: Cannot read properties of undefined (reading 'close')
          at run (/Users/nathan/mongo/testing/qe.js:95:18)
          at processTicksAndRejections (node:internal/process/task_queues:96:5)
      

      What use case would this feature/improvement enable?

      It would help users identify the problem if they specify an invalid path for the shared library.

            Assignee:
            durran.jordan@mongodb.com Durran Jordan
            Reporter:
            nathan.leniz@mongodb.com Nathan Leniz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: