I have quite a bit of code within a custom command. Working on this code has become a pain because whenever there is an error in the code, instead of having the error get printed to the logs like usual, I only get the message [Render thread/INFO] [minecraft/ChatComponent]: [CHAT] An unexpected error occurred trying to execute that command.
Is there a way to get errors within custom command code?