dimberman commented on pull request #10230:
URL: https://github.com/apache/airflow/pull/10230#issuecomment-689085429


   Oh wait it's not the on_kill.
   
   It's these lines
   
   ```      
     try:
               launcher.start_pod(
                   pod,
                   startup_timeout=self.startup_timeout_seconds)
               final_state, result = launcher.monitor_pod(pod=pod, 
get_logs=self.get_logs)
           except AirflowException as ex:
               if self.log_events_on_failure:
                   for event in launcher.read_pod_events(pod).items:
                       self.log.error("Pod Event: %s - %s", event.reason, 
event.message)
               raise AirflowException('Pod Launching failed: 
{error}'.format(error=ex))
           finally:
               if self.is_delete_operator_pod:
                   launcher.delete_pod(pod)
           return final_state, pod, result
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to