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

Provide context to errorCodeToStatus()

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Fully Compatible
    • Service Arch 2022-07-11, Service Arch 2022-07-25, Service Arch 2022-08-08, Service Arch 2022-08-22, Service Arch 2022-09-05, Service Arch 2022-09-19, Service Arch 2022-10-03, Service Arch 2022-10-17
    • 180

      It's currently difficult to determine what is behind errors translated by errorCodeToStatus() without knowing where said function was called. Augment the function to accept a string to be attached to the outputted Status' reason member and update calls to it.

            Assignee:
            reo.kimura@mongodb.com Reo Kimura (Inactive)
            Reporter:
            reo.kimura@mongodb.com Reo Kimura (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: