ternandsparrow / wild-orchid-watch-pwa

Progressive Web App for the Wild Orchid Watch citizen science project
https://app.wildorchidwatch.org
4 stars 4 forks source link

"UnknownError: Connection to Indexed Database server lost. Refresh the page to try again" on iOS #64

Open tomsaleeba opened 3 years ago

tomsaleeba commented 3 years ago

This actually generated two Sentry error reports (I think):

Failed to refresh remote observations Error: Failed while trying to delete the following IDs from Db=[]
Caused by: Failed to refresh localRecordQueue
Caused by: Connection to Indexed Database server lost. Refresh the page to try again
UnknownError: Connection to Indexed Database server lost. Refresh the page to try again

I'm not sure there's much we can do here. If the underlying IDB has an issue, there's not much we can about it in "userland". All we can really hope to do is catch and report it in a way that makes sense for the user.

idb1

idb2