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

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • Minecraft 1.11.2, Minecraft 17w06a, Minecraft 1.12.1, Minecraft 1.12.2
    • Windows 7, Windows 10
    • Confirmed
    • (Unassigned)

      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.

            Unassigned Unassigned
            marcono1234 Marcono1234
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: