This commit is contained in:
lollipopkit
2023-08-05 12:23:29 +08:00
parent d88a078cd6
commit 3405172d76
6 changed files with 30 additions and 28 deletions

View File

@@ -56,6 +56,7 @@ Future<SSHClient> genClient(
timeout: const Duration(seconds: 5),
);
} catch (e) {
if (spi.alterUrl == null) rethrow;
try {
spi.fromStringUrl();
socket = await SSHSocket.connect(