airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ash Berlin-Taylor (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-843) Store task exceptions in context
Date Tue, 21 Nov 2017 16:02:00 GMT

    [ https://issues.apache.org/jira/browse/AIRFLOW-843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16260949#comment-16260949
] 

Ash Berlin-Taylor commented on AIRFLOW-843:
-------------------------------------------

 I think 1. is a "softer" approach that will mean existing on failure hooks in people's code
bases wont suddenly error (due to signature mismatch)

But we can go with 2. so long as it's mentioned in updating.md

> Store task exceptions in context
> --------------------------------
>
>                 Key: AIRFLOW-843
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-843
>             Project: Apache Airflow
>          Issue Type: Improvement
>            Reporter: Scott Kruger
>            Priority: Minor
>
> If a task encounters an exception during execution, it should store the exception on
the execution context so that other methods (namely `on_failure_callback` can access it. 
This would help with custom error integrations, e.g. Sentry.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message