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

printStackTrace missing a terminating newline

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.9.0
    • None
    • Internal Code
    • None
    • Fully Compatible
    • ALL
    • Service Arch 2021-03-08

    Description

      in the "humanReadable" segment of the backtrace dump,
      and in the case that it was given a sink (not writing to LOGV2),
      we emit frames like this, but there's no terminating newline.

      *sink << fmt::format("\n Frame: {}", tojson(frame, ExtendedRelaxedV2_0_0));

      Need a newline. This section of the output is specified to emit lines.
      Without a newline, it's not a line. Trivial fix.

      Attachments

        Activity

          People

            billy.donahue@mongodb.com Billy Donahue
            billy.donahue@mongodb.com Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: