airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steen Manniche (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AIRFLOW-1490) In order to get details on exceptions thrown by tasks, the onfailure callback needs an enhancement
Date Mon, 07 Aug 2017 10:58:00 GMT
Steen Manniche created AIRFLOW-1490:
---------------------------------------

             Summary: 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


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
(v6.4.14#64029)

Mime
View raw message