fix: even if the connection is not successful, the host information is stored
This commit is contained in:
@@ -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':
|
||||
|
Reference in New Issue
Block a user