Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-113249

Minecraft does not remove trailing line breaks from error messages

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.11.2, Minecraft 17w06a, Minecraft 1.12.1, Minecraft 1.12.2
    • Fix Version/s: None
    • Environment:

      Windows 7, Windows 10

    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      The bug

      Some exceptions contain OS error messages. It looks like these error messages end at least for Windows with a line break. When the error message is then printed in the log an empty line is created.

      How to reproduce

      1. Take a screenshot
      2. Delete the screenshot while leaving the game open
      3. Click on the screenshot link in chat
        → An error message containing the Windows error "The system cannot find the file specified." is printed in the log with a blank line after it

      Note: This cannot be seen in the log window of the new launcher. You can however still see this in the created log file.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              marcono1234 [Mod] Marcono1234
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                CHK: