airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jack (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AIRFLOW-2925) gcp dataflow hook doesn't show traceback
Date Mon, 20 Aug 2018 16:14:00 GMT
jack created AIRFLOW-2925:
-----------------------------

             Summary: gcp dataflow hook doesn't show traceback
                 Key: AIRFLOW-2925
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2925
             Project: Apache Airflow
          Issue Type: Improvement
            Reporter: jack
             Fix For: 1.10.1


The gcp_dataflow_hook.py has:

 
{code:java}
if self._proc.returncode is not 0:           

    raise Exception("DataFlow failed with return code {}".format(self._proc.returncode))
{code}
 

This does not show the full trace of the error which makes it harder to understand the problem.

[https://github.com/apache/incubator-airflow/blob/master/airflow/contrib/hooks/gcp_dataflow_hook.py#L171]

 

 

reported on gitter by Oscar Carlsson



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

Mime
View raw message