malthe opened a new pull request #17545:
URL: https://github.com/apache/airflow/pull/17545


   Previously, any exception raised during the execution of 
`on_execute_callback` would be logged and ignored.
   
   This proposal changes the behavior such that an exception deriving from 
`AirflowException` is allowed through – the equivalent of an exception raised 
during the execution of the actual task.
   
   That is, one can for example raise `AirflowSkipException` from inside the 
callback:
   
   - The task is not executed (because an `AirflowException` derived exception 
was raised)
   - The task is marked as `State.SKIPPED`


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to