Stack trace is not printed in log when exception occurs while running command
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
- Use the reproduction steps of
MC-116927while having the world open - 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)
2016-04-23, 11:42 PM
2018-01-21, 07:56 PM
2017-05-18, 03:00 PM
3
4
Minecraft 1.9.3 Pre-Release 1, Minecraft 1.11.2, Minecraft 17w18b, Minecraft 1.12 Pre-Release 2