mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-08-18 20:38:02 +08:00
SftpreconnectIfTimeout方法改为捕获所有异常(issue#3989@Github)
This commit is contained in:
@@ -226,7 +226,7 @@ public class Sftp extends AbstractFtp {
|
||||
}
|
||||
try {
|
||||
this.cd(StrUtil.SLASH);
|
||||
} catch (FtpException e) {
|
||||
} catch (Exception e) {
|
||||
close();
|
||||
init();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user