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

Stack trace is not printed in log when exception occurs while running command

    Details

    • Confirmation Status:
      Unconfirmed

      Description

      Introduction

      Even though [Mojang] Grum (Erik Broes) wrote in his comment on MC-86949:

      Using internals gives you internal errors

      (Not sure if this applies here)
      There are enough situations in which plain exceptions are printed in the log without a message like "Couldn't process command".

      The bug

      Using commands which do not run successfully because of an exception while executing them only prints the following in the log.

      Couldn't process command: '[COMMAND USED]'
      

      This makes it pretty difficult to find the reason why this happened. Instead the exception should be printed as well.

      How to reproduce

      1. Use the reproduction steps of MC-116927 while having the world open
      2. Use the /reload command

      You cannot tell what why the command could not be executed. (In this case the advancement file had an invalid content)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                marcono1234 [Helper] Marcono1234
              • Votes:
                3 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: