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

errnoWithDescription should return error code value for unknown errors

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.9
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Security 2019-02-25, Security 2019-03-11
    • 6

      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.

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

              Created:
              Updated:
              Resolved: