def METHOD_NAME() -> None:
  nonlocal first_try
  try:
    job.execute()
  except errors.HttpError:
    if first_try:
      first_try = False
      if self.GetDataset(self.dataset_id):
        logging.exception("Error with job: %s", job_id)
      else:
        # If this is our first export ever, we need to create the dataset.
        logging.info("Attempting to create dataset: %s", self.dataset_id)
        self.CreateDataset()
    raise