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

tassert should only print stack traces when testing diagnostics are enabled

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Service Arch
    • ALL

      As of SERVER-56841, failed {{tassert}}s print stack traces whether or not the system is running under test. It should instead only print stack traces when the system is running under a test harness, and never print stack traces in production environments.

      Allowing them to print stack traces in production leads to user confusion.

            Assignee:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            schwerin@mongodb.com Andy Schwerin
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: