Re-add try catch for getting status func.

This commit is contained in:
LollipopKit
2021-10-28 09:55:16 +08:00
parent 2dbb1a1857
commit 10a745d25a
3 changed files with 50 additions and 35 deletions

View File

@@ -35,11 +35,6 @@ class ServerStatus {
late List<DiskInfo?> disk;
late TcpStatus tcp;
ServerStatus(
this.cpu2Status,
this.memList,
this.sysVer,
this.uptime,
this.disk,
this.tcp);
ServerStatus(this.cpu2Status, this.memList, this.sysVer, this.uptime,
this.disk, this.tcp);
}