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

Elad updated AIRFLOW-3528:
--------------------------
    Component/s: operators

> handle socket exception with SFTPOperator
> -----------------------------------------
>
>                 Key: AIRFLOW-3528
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3528
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: operators
>    Affects Versions: 1.10.1
>            Reporter: Elad
>            Priority: Major
>
> Currently SFTPOperator executes:
>  
> {code:java}
> sftp_client = ssh_client.open_sftp()
> {code}
> without handling socket errors. 
> If error occurs with the connection the operator show the following message:
> {code:java}
> Subtask: airflow.exceptions.AirflowException: Error while transferring None, 
> error: 'NoneType' object has no attribute 'open_sftp'{code}
> This error is misleading because it suggests that there is a problem with the 
> file transfer yet the problem in fact can be with the connection.
>  
> The issue reported by lot on Slack.
>  



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to