T
TanStack9mo ago
rising-crimson

Ignoring error when using experimental persister?

Hey I am using the experimental persister, and localforage for persisting data in indexeddb now the issue is sometimes I get an error Connection to Indexed Database server lost. Refresh the page to try again Which seems like a safari bug but is there anyway to ignore this error on react-query level. Since its flooding the logs.
1 Reply
other-emerald
other-emerald9mo ago
we don't control this, so you likely have to try-catch around connecting to indexdb?

Did you find this page helpful?