Invalid Python in Macro Editor Raises No Error

So far as I can tell, if you put some invalid python syntax into the marco editor, no error is reported and the macro does not run.