From e891465775757be4dea56eb01e8c2638089f4f58 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Thu, 2 May 2024 20:15:46 -0400 Subject: [PATCH] Add more console logging for cache storage code --- src/js/cachestorage.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/js/cachestorage.js b/src/js/cachestorage.js index d94be62e3..f946bc73b 100644 --- a/src/js/cachestorage.js +++ b/src/js/cachestorage.js @@ -59,7 +59,7 @@ const hasOwnProperty = (o, p) => const cacheStorage = (( ) => { const exGet = async (api, wanted, outbin) => { - ubolog('cacheStorage:', api.name || 'storage.local', wanted.join()); + ubolog('cacheStorage.get:', api.name || 'storage.local', wanted.join()); const missing = []; for ( const key of wanted ) { if ( pendingWrite.has(key) ) { @@ -149,6 +149,7 @@ const cacheStorage = (( ) => { async set(rawbin) { const keys = Object.keys(rawbin); if ( keys.length === 0 ) { return; } + ubolog('cacheStorage.set:', keys.join()); for ( const key of keys ) { pendingWrite.set(key, rawbin[key]); }