mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2026-04-01 03:53:20 +08:00
fix: 乐观缓存未捕获错误
This commit is contained in:
@@ -57,7 +57,11 @@ export default async function download(
|
||||
timeout,
|
||||
proxy,
|
||||
true,
|
||||
);
|
||||
).catch((e) => {
|
||||
$.error(
|
||||
`乐观缓存: URL ${url} 更新缓存发生错误 ${e.message ?? e}`,
|
||||
);
|
||||
});
|
||||
return cached;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user