You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "jack (JIRA)" <ji...@apache.org> on 2018/08/20 16:14:00 UTC

[jira] [Created] (AIRFLOW-2925) gcp dataflow hook doesn't show traceback

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)