-
Type: Task
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
-
C Drivers
-
Not Needed
-
CXX-2723 documented throwing exceptions from APM callbacks as being undefined behavior to account for lack of exception safety in libmongoc. An internal check-and-terminate was added for QoI purposes.
The CXX Driver test suite still contains several cases of Catch2 assertions (which throw an exception on failure) within APM callbacks. These assertions should be replaced with an exception-safe alternative to conform to the APM callback requirements.