To reproduce, run either of these commands: /worldborder warning time or /worldborder warning distance.
What I expected: running that command would give help info like all of the other commands.
What actually happened: "An unknown error occurred while attempting to perform this command" is printed to chat. The game log also prints "Couldn't process command: 'worldborder warning time'" for the server thread, but no stacktrace (on neither the integrated nor a dedicated vanilla server).
Linked issues
duplicates 1
Comments 2
That's a correct dupe (though searching didn't find it). Though I find it odd that no stacktrace was put into the chat.
Though it still is incorrect for it to display the "An unknown error occurred while performing this command" message; it should give the (already existing) help text. So the other bug is still a real bug.
Dupe of MC-69072. The "sizeInBlocks" and "timeInSeconds" parameters are required for the command to function properly.