Change exception type on run_next_action