We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We have received a report in Sentry related to @segment/analytics-next package, which indicates that some localStorage operations are throwing QuotaExceededError The quota has been exceeded.. The trace points to https://github.com/segmentio/analytics-next/blob/master/packages/browser/src/lib/priority-queue/persisted.ts#L73.
@segment/analytics-next
QuotaExceededError The quota has been exceeded.
In order to prevent such issues, it's recommended to wrap any localStorage.setItem() calls in try/catch block (see SO thread).
localStorage.setItem()
try/catch
Browser Name Safari Version 17.6
Operating System Name Mac OS X Version >=10.15.7
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
We have received a report in Sentry related to
@segment/analytics-next
package, which indicates that some localStorage operations are throwingQuotaExceededError The quota has been exceeded.
. The trace points to https://github.com/segmentio/analytics-next/blob/master/packages/browser/src/lib/priority-queue/persisted.ts#L73.Possible fix
In order to prevent such issues, it's recommended to wrap any
localStorage.setItem()
calls intry/catch
block (see SO thread).Device details
Browser
Name Safari
Version 17.6
Operating System
Name Mac OS X
Version >=10.15.7
The text was updated successfully, but these errors were encountered: