Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
3.6.0
-
None
Description
Passing an invalid value for the explain parameter throws an exception.
However, when useUnifiedTopology is set to true, the exception cannot be caught.
Tested with mongodb@3.6.9 and MongoDB server version 4.4.7
Please find attached a minimal example that demonstrates the issue. Note that setting useUnifiedTopology to false lets the application catch/handle the error.
Attachments
Issue Links
- related to
-
NODE-3377 Driver does not allow arbitrary explain levels (3.7)
-
- Closed
-