Skip to content

Dialog shows regardless of the ignoreErrors rules #7732

Description

@glung

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using? If you use the CDN bundles, please specify the exact bundle (e.g. bundle.tracing.min.js) in your SDK setup.

@sentry/angular

SDK Version

7.46.0

Framework Version

@sentry/angular

Link to Sentry event

No response

SDK Setup

Sentry init

Sentry.init({dsn: '***',ignoreErrors: ['Error to ignore']})

Angular error handler:

createErrorHandler({showDialog: environment.production===false,})

Steps to Reproduce

  1. Setup Sentry and ignore error
  2. Register the Sentry error handler with showDalog
  3. Fire the ignore - that should be ignored

Expected Result

The error is not sent
The dialog does not show

Actual Result

The error is not sent
The dialog shows

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions