client: log full error if storage access is denied
This commit is contained in:
parent
eddcbe5cd2
commit
89b68c8009
1 changed files with 2 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue