client: log full error if storage access is denied

This commit is contained in:
jean-emmanuel 2025-12-19 08:17:08 +01:00
parent eddcbe5cd2
commit 89b68c8009

View file

@ -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 {