Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-39604

errnoWithDescription should return error code value for unknown errors

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.1.9
    • None
    • None
    • None
    • Fully Compatible
    • Security 2019-02-25, Security 2019-03-11
    • 6

    Description

      Right now, if errnoWithDescription() cannot find a text description of an error code (with the XSI-compliant strerror_r) it just returns "Unknown error", which means we loose the error code value completely. This means we cannot do any research about what the error was after the fact.

      Attachments

        Activity

          People

            jonathan.reams@mongodb.com Jonathan Reams
            jonathan.reams@mongodb.com Jonathan Reams
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: