Steen Manniche updated AIRFLOW-1490:
    Attachment: 0001-AIRFLOW-1490-carry-exceptions-through-to-the-on_fail.patch

> In order to get details on exceptions thrown by tasks, the onfailure callback 
> needs an enhancement
> --------------------------------------------------------------------------------------------------
>                 Key: AIRFLOW-1490
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1490
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: Airflow 2.0, Airflow 1.8
>            Reporter: Steen Manniche
>         Attachments: 
> 0001-AIRFLOW-1490-carry-exceptions-through-to-the-on_fail.patch
> The code called when an exception is thrown by a task receives information on 
> the exception thrown from the task, but fails to delegate this information to 
> the registered callbacks. 
> https://github.com/apache/incubator-airflow/blob/master/airflow/models.py#L1524
>  sends the context to the registered failure callback, but this context does 
> not include the thrown exception.
> The supplied patch proposes a non-api-breaking way of including the exception 
> in the context in order to provide clients with the full exception type and 
> -traceback

This message was sent by Atlassian JIRA

Reply via email to