Skip to content

feat(error-handling): wire window.onerror and unhandledrejection into telemetry sink - #148

Closed
maxx-GENIUS wants to merge 1 commit into
StepFi-app:mainfrom
maxx-GENIUS:feat/issue-122-global-error-handlers
Closed

maxx-GENIUS wants to merge 1 commit into
StepFi-app:mainfrom
maxx-GENIUS:feat/issue-122-global-error-handlers

Conversation

@maxx-GENIUS

Copy link
Copy Markdown

Summary

Installs idempotent global listeners for window.onerror and unhandledrejection, ensuring unhandled errors and chunk loading failures are captured into the telemetry sink with sliding-window deduplication and AbortError filtering.

Closes #122

Changes

  • src/lib/globalHandlers.ts: Implemented global error listeners with deduplication and URL query parameter stripping.

Verification

  • Unit tested synthetic event handling, deduplication window, and SSR safety.

@EmeditWeb EmeditWeb closed this Oct 11, 2026
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.

(Critical) Error Reporting: global window.onerror + unhandledrejection capture

2 participants