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

Pierre Villard resolved NIFI-5776.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.9.0

> ListSFTP should log SSH_FXP_STATUS id value
> -------------------------------------------
>
>                 Key: NIFI-5776
>                 URL: https://issues.apache.org/jira/browse/NIFI-5776
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 1.0.0
>            Reporter: Koji Kawamura
>            Assignee: Koji Kawamura
>            Priority: Minor
>             Fix For: 1.9.0
>
>
> When SSH_FXP_READDIR request is sent, if SSH_FXP_STATUS other than the 
> expected SSH_FX_EOF is returned, SftpException is thrown. Current catch block 
> converts the exception into different exceptions based on SSH_FXP_STATUS id. 
> But if the id is not SSH_FX_NO_SUCH_FILE or SSH_FX_PERMISSION_DENIED, the 
> returned id won't be logged. That makes it hard to investigate issues for 
> such code.
> https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/util/SFTPTransfer.java#L263



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

Reply via email to