fix: even if the connection is not successful, the host information is stored

This commit is contained in:
Levi Yan
2025-01-16 02:54:45 +08:00
parent 04add2b8f1
commit d49ac4cfb6
2 changed files with 33 additions and 33 deletions

View File

@@ -70,8 +70,6 @@ export default class DSHome {
// only success then open folder
this.remoteContainer.openRemoteFolder(data.host, data.username, data.port, data.path);
}
}).catch(error => {
console.error(`Failed to connect ${data.host}: `, error)
})
break;
case 'openRemoteFolder':