feat: implement pbUpsert helper for streamlined database operations and update related functions

This commit is contained in:
RaymondVerhoef
2026-05-22 19:56:23 +02:00
parent ca8945ea5b
commit 7b6ae265db
7 changed files with 38 additions and 69 deletions

View File

@@ -33,7 +33,6 @@ export const storage = {
} catch (e) {
if (e.name === 'QuotaExceededError' || e.code === 22) {
console.error(`Storage quota exceeded when setting ${key}.`);
// We could implement a strategy here to clear old cached kb:tests
} else {
console.error(`Error saving ${key} to storage:`, e);
}