Skip to content

fix(rock): filter Safari load failure exceptions - #21

Draft
bentbrain wants to merge 2 commits into
mainfrom
fix/posthog-safari-load-failures
Draft

bentbrain wants to merge 2 commits into
mainfrom
fix/posthog-safari-load-failures

Conversation

@bentbrain

Copy link
Copy Markdown
Owner

Summary

  • Filters stackless Safari TypeError: Load failed PostHog exception events before they are sent.
  • Keeps stack-bearing exceptions and non-Safari load failures so actionable errors still reach PostHog.
  • Adds focused coverage for the analytics event filter.

Root Cause

Safari reports some failed resource or network loads as stackless unhandled promise rejections with the generic message TypeError: Load failed. PostHog was auto-capturing those browser-level events as JavaScript exceptions, which made the alert fire even though the user session continued normally.

@vercel

vercel Bot commented Jun 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
rockbusters-v2 Ready Ready Preview, Comment Jun 14, 2026 10:44pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant