From 68d91d375b5ef1b0fc99ea24cd63e4eb82bc9ee4 Mon Sep 17 00:00:00 2001 From: Gkiokan Sali Date: Sun, 1 May 2022 13:11:10 +0200 Subject: [PATCH] close ftp client after error on get log files --- src-electron/src/ftp.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src-electron/src/ftp.js b/src-electron/src/ftp.js index 337cd0d..2628f6c 100644 --- a/src-electron/src/ftp.js +++ b/src-electron/src/ftp.js @@ -103,6 +103,7 @@ export default { if(size == 0){ throw path.basename(source) + " not found or empty" + client.close() return } }