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

errnoWithDescription should return error code value for unknown errors

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.9
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Security 2019-02-25, Security 2019-03-11
    • Linked BF Score:
      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

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: