This update handles InvocationTargetException in friendlier way. If the error was thrown because of bad input, you'll get more meaningful message like this:
CommandBlock at -105 84 -123 has thrown SyntaxException. Please check the input. (e[distance=..150,type=minecaft:
player] (....150,type=<--[HERE])) Also, if you have old CommandBlocks that use radius as 'r' instead of new 'distance', they will be (hopefully) auto fixed (
r=150 ->
distance=..150)