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

Better diagnostics for BrokenPromise

    XMLWordPrintableJSON

Details

    • Service Arch

    Description

      Currently, we return a BrokenPromise error code but this makes failures hard to debug and  it's often not clear from logs which promise was actually broken. Adding an invariant would help in this regard by providing a stacktrace for BFs that are hard to reproduce.

      Attachments

        Activity

          People

            backlog-server-servicearch Backlog - Service Architecture
            jason.chan@mongodb.com Jason Chan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: