mirror of
https://github.com/outline/outline.git
synced 2026-11-25 15:15:15 +03:00
The browser closes IndexedDB connections at times the page does not control – a frozen or discarded tab, a navigation away, or another tab deleting the database at logout. Persisted store data is a cache that API traffic always overrides, so these failures have no effect for the user, but each one was reported to Sentry as a warning. - Log connection closed failures at debug level instead of reporting them - Delete the database in clear() rather than emptying it through a transaction, which cannot fail against a closed connection - Keep persistence enabled when hydration fails on a closed connection, rather than disabling it for the rest of the session Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>