Update sftp.ts
This commit is contained in:
1 file changed
+1
@@ -147,6 +147,7 @@ export class SFTPSession {
|
||||
transfer.close()
|
||||
handle.close()
|
||||
} catch (e) {
|
||||
transfer.setStatus(e instanceof Error ? e.message : String(e))
|
||||
transfer.cancel()
|
||||
throw e
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user