Errors during command processing/response-building should reset "result" with error.

XMLWordPrintableJSON

    • Server Programmability
    • ALL
    • Service Arch 2022-10-31, Service Arch 2022-11-14, Service Arch 2022-11-28
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When a command fails, or duplicate status/ok/errmsg/code/etc is attempted to be appended to "result" (bsonobjbuilder) the current "result" should be copied to a field (like "$oldStateBeforeFinalError") and "result" should contain the correct error information.

      This will allow the error/status command code to always report the correct error/state to the client.

              Assignee:
              Unassigned
              Reporter:
              Scott Hernandez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: