Forgotten ob_clean() call
ConsoleException replaced by global LogicException