Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-1643

Use mongoc_uri_new_with_error for better exception messages

    XMLWordPrintable

    Details

      Description

      The uri constructor uses libmongoc's mongoc_uri_new here which warns a helpful message if it fails to parse. Instead, we should use mongoc_uri_new_with_error and pass that helpful error message in the exception.

        Attachments

          Activity

            People

            Assignee:
            raymund.rodriguez Raymund Rodriguez
            Reporter:
            kevin.albertson Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: