The bug
/execute run
does not cause a syntax error when the command to run is missing arguments. There is no feedback at all in this case.
However, it is considered a syntax error if the command to run does not exit.
How to reproduce
Compare the result when typing / executing the following commands.
Invalid command:
/execute run scoreboard invalid
✔ An error is shown
Missing argument:
/execute run scoreboard objectives
❌ No error message, no feedback at all
Linked issues
is duplicated by
relates to
Comments
Can confirm in 21w03a.
Can confirm in 21w06a.

Affects 1.17.1

Affects 1.18

Affects 1.18.1

Affects 1.18.2

Affects 1.19
Can confirm in 1.19.2.
This also happens when commands aren't inside /execute. (Happens to all commands)