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