-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 3.6.0
-
Component/s: None
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.
- related to
-
NODE-3377 Driver does not allow arbitrary explain levels (3.7)
- Closed