Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ecosystem-explorer/src/lib/api/idb-cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export async function getCached<T>(key: string, store: StoreName): Promise<T | n

return (entry as CacheEntry<T>).data;
} catch (error) {
console.error(`Failed to get cached data for ${key}:`, error);
console.error(`Failed to get cached data for %s:`, key, error);
return null;
}
}
Expand All @@ -113,7 +113,7 @@ export async function setCached<T>(key: string, data: T, store: StoreName): Prom

await db.put(store, entry);
} catch (error) {
console.error(`Failed to cache data for ${key}:`, error);
console.error(`Failed to cache data for %s:`, key, error);
}
}

Expand Down
Loading