fix: update tauri-plugin-mihomo version, improve error handling #6149

This commit is contained in:
Tunglies
2026-01-24 09:19:52 +08:00
parent 6e16133393
commit 334cec3bde
4 changed files with 29 additions and 25 deletions
+5 -1
View File
@@ -32,7 +32,11 @@ export const AppDataProvider = ({
calcuProxies,
{
...SWR_REALTIME,
onError: (err) => console.warn("[DataProvider] Proxy fetch failed:", err),
onError: (_) => {
// FIXME when we intially start the app, and core is starting,
// there will be error thrown by getProxies API.
// We should handle this case properly later.
},
},
);