fix: 何らかのエラーがあっても無視するように

This commit is contained in:
kakkokari-gtyih 2025-09-06 14:36:01 +09:00
parent 8e661d049a
commit 41d7a08c51
1 changed files with 3 additions and 1 deletions

View File

@ -17,7 +17,9 @@ export async function clearCache() {
miLocalStorage.removeItem('theme');
miLocalStorage.removeItem('emojis');
miLocalStorage.removeItem('lastEmojisFetchedAt');
await misskeyApiGet('clear-browser-cache', {});
await misskeyApiGet('clear-browser-cache', {}).catch(() => {
// ignore
});
await fetchInstance(true);
await fetchCustomEmojis(true);
unisonReload();