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:
PKC278
2026-01-03 22:32:52 +08:00
committed by GitHub
parent f342b08179
commit e84fc5f424

View File

@@ -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)
}
}