From 89b68c8009f732a488c38e5f471c8fc8e5182d69 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 19 Dec 2025 08:17:08 +0100 Subject: [PATCH] client: log full error if storage access is denied --- src/client/index.mjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/client/index.mjs b/src/client/index.mjs index c1d5753c..59676486 100644 --- a/src/client/index.mjs +++ b/src/client/index.mjs @@ -29,10 +29,11 @@ function init() { } if (document.requestStorageAccess) { - document.requestStorageAccess().then(init, ()=>{ + document.requestStorageAccess().then(init, (e)=>{ init() setTimeout(()=>{ console.error('Could not obtain storage access, the app might not work correctly unless the browser\'s settings are updated') + console.error(e) }, 1000) }) } else {