IDLE code should have been inside a command_try block.