Skip to content

SDK: client-side error filtering (ignoreErrors / beforeSend) #915

Open

Description

@unjica

Gap

No client-side ignore/filter option exists (nothing like ignoreErrors / beforeSend). Users can't drop known-noise errors before they are sent and count against quota; only piiScrub can modify payloads.

Affected

core 1.5.3, RN 1.3.2, node 1.4.2.

Acceptance criteria

  • Option to ignore by message (string/RegExp) and a beforeSend(event) => event | null hook.
  • Applies to global-handler, boundary and manual trackError reports; a throwing hook never drops the SDK or crashes the app.
  • Tests + docs (/docs/sdk-privacy or SDK docs).

Found during SEO research for the Expo Router ErrorBoundary guide (brief 2026-11-02, verified against npm tarballs of @telemetry-tracker/react-native 1.3.2 and @telemetry-tracker/core 1.5.3). Prioritise after Sanja's Android release-build test results. Not implemented yet.

Activity

  1. added
    enhancement
    sdk
    on Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementsdk

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions