mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
fix: ssh alter url (#554)
This commit is contained in:
@@ -93,8 +93,8 @@ Future<SSHClient> genClient(
|
||||
spi.port,
|
||||
timeout: timeout,
|
||||
);
|
||||
} catch (e, s) {
|
||||
Loggers.app.warning('genClient', e, s);
|
||||
} catch (e) {
|
||||
Loggers.app.warning('genClient', e);
|
||||
if (spi.alterUrl == null) rethrow;
|
||||
try {
|
||||
final res = spi.fromStringUrl();
|
||||
@@ -104,8 +104,8 @@ Future<SSHClient> genClient(
|
||||
res.$3,
|
||||
timeout: timeout,
|
||||
);
|
||||
} catch (e, s) {
|
||||
Loggers.app.warning('genClient alterUrl', e, s);
|
||||
} catch (e) {
|
||||
Loggers.app.warning('genClient alterUrl', e);
|
||||
rethrow;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user