mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-05-06 20:43:03 +08:00
Update src/service-worker.ts
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
@@ -279,7 +279,7 @@ async function set(key: string, value: any, storeName: string = 'badge'): Promis
|
||||
tx.onerror = () => reject(tx.error)
|
||||
})
|
||||
} catch (e) {
|
||||
// 忽略错误
|
||||
console.error(`[SW] Failed to set IndexedDB key "${key}" in store "${storeName}":`, e)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user