Function from datapack working even if having incomplete "/execute" command
Resolved
Duplicate
5
Expected behaviour
When you write a function file, and one of its line has an unfinished "execute" command (execute <any conditions> run), the file should fail and should not be able to use it.
Actual behaviour
The function file continue working, skipping the unfinished command.
Functions only fail to load on syntax error, `/execute run` is (unfortunately) well-formed, but unable to be executed (and execution errors are silent in functions).
Related to MC-165773, but not a duplicate. It seems trying to run
/execute runwithout subsequent command fails in chat and in command blocks.