mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 23:34:24 +01:00
Will display the exception of Server Connection
This commit is contained in:
@@ -141,6 +141,7 @@ class ServerProvider extends BusyProvider {
|
||||
notifyListeners();
|
||||
} catch (e) {
|
||||
_servers[idx].connectionState = ServerConnectionState.failed;
|
||||
_servers[idx].status.failedInfo = e.toString().split(', ')[1];
|
||||
notifyListeners();
|
||||
logger.warning(e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user