-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
In the _sftp_channel function if for example an "Operation unsupported" occurs the error logging will be "Failed Directory Change".
This is due to the except IOError as err after opening the channel.
I propose to move the directory change error handling to the channel.chdir.
In case of an IOError also the channel is not closed. Not sure if this is by design.
If you want I can create PR.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers