mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2025-08-10 07:09:00 +08:00
fix: 乐观缓存未捕获错误
This commit is contained in:
parent
047c21fe70
commit
9ce5916414
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "sub-store",
|
||||
"version": "2.14.322",
|
||||
"version": "2.14.323",
|
||||
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.",
|
||||
"main": "src/main.js",
|
||||
"scripts": {
|
||||
|
@ -57,7 +57,11 @@ export default async function download(
|
||||
timeout,
|
||||
proxy,
|
||||
true,
|
||||
);
|
||||
).catch((e) => {
|
||||
$.error(
|
||||
`乐观缓存: URL ${url} 更新缓存发生错误 ${e.message ?? e}`,
|
||||
);
|
||||
});
|
||||
return cached;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user