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

Investigate NODE-4286 - Improve error handling for invalid cryptSharedLibPath

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • 2
    • Not Needed

      NODE-4286 Description

      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:
            dbeng-pm-bot PM Bot
            Durran Jordan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: