You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Steen Manniche (JIRA)" <ji...@apache.org> on 2017/08/07 10:58:00 UTC
[jira] [Created] (AIRFLOW-1490) In order to get details on
exceptions thrown by tasks, the onfailure callback needs an enhancement
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)