Changed exit to cli_error