[ 
https://issues.apache.org/jira/browse/AIRFLOW-3158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ash Berlin-Taylor updated AIRFLOW-3158:
---------------------------------------
    Fix Version/s:     (was: 1.10.4)

(removing the fix version until there is a PR for this)

> Improve error message for Broken DAG by adding function name
> ------------------------------------------------------------
>
>                 Key: AIRFLOW-3158
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3158
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: ui
>    Affects Versions: 1.10.0
>            Reporter: jack
>            Priority: Trivial
>              Labels: easy-fix
>
> The following message appears
> {color:#a94442}Broken DAG: [/home/ubuntu/airflow/dags/a_dag.py] Relationships 
> can only be set between Operators; received function{color}
> When generating
> {code:java}
> A >> B{code}
>  
> in case A is an operator and B is a function.
> The error message could be improved if it will be
> {color:#a94442}Broken DAG: [/home/ubuntu/airflow/dags/a_dag.py] Relationships 
> can only be set between Operators; received function B{color}
> This is a small change that makes the error user friendly and specify where 
> exactly is the issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to