Exception class not reported when ismaster failures are reported

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 2.11.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None

      Currently when ismaster fails, the exception class is not logged. For example, the driver can produce this message when it is instructed to use a nonexistent path with ssl_ca_cert option:

      MONGODB | Error running ismaster on localhost:27741: system lib
      

      The "system lib" part is coming from openssl. With the exception class included, the message looks like this which immediately identifies the source of the problem:

      MONGODB | Error running ismaster on localhost:27741: OpenSSL::X509::StoreError: system lib
      

      This situation was encountered by a SO user in https://stackoverflow.com/questions/58053353/ibmcloud-how-can-i-connect-to-mongodb/58071056.

              Assignee:
              Oleg Pudeyev (Inactive)
              Reporter:
              Oleg Pudeyev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: