-
Type: Bug
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: None
-
None
It is possible for mongoc_uri_new_with_error to return NULL, and we are completely ignoring this fact during construction of mongocxx::client. It's very unlikely that this would happen, as most of the paths that would return an error would be covered during construction of the mongoc_uri_t passed in, but we should throw nonetheless in the unlikely case that this does happen.