alroyso 1 year ago
parent
commit
ff72ea0f7d
1 changed files with 3 additions and 1 deletions
  1. 3 1
      lib/app/controller/service.dart

+ 3 - 1
lib/app/controller/service.dart

@@ -232,7 +232,9 @@ class ServiceController extends GetxController {
             try {
               await controllers.core.fetchHello();
               break;
-            } catch (_) {}
+            } catch (e) {
+              controllers.global.updateMsg("请求内核错误${e.toString()}---服务器状态${info.status}...");
+            }
           } else {
             controllers.global.updateMsg("启动内核错误---等待中...");
             throw 'clash-core start error';