[ 
https://issues.apache.org/jira/browse/NIFI-5776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16671514#comment-16671514
 ] 

ASF subversion and git services commented on NIFI-5776:
-------------------------------------------------------

Commit f0a7dda8423304ac424971b8c2aa54f4f6d5260d in nifi's branch 
refs/heads/master from [~ijokarumawak]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=f0a7dda ]

NIFI-5776: ListSFTP should log SSH_FXP_STATUS id value

Signed-off-by: Pierre Villard <[email protected]>

This closes #3120.


> 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
>
> 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