Skip to content
New issue

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

ignoreErrors doesn't include exception type #1007

Closed
benvinegar opened this issue Aug 4, 2017 · 0 comments
Closed

ignoreErrors doesn't include exception type #1007

benvinegar opened this issue Aug 4, 2017 · 0 comments

Comments

@benvinegar
Copy link
Contributor

We've been advising users to do the following:

Raven.config('your-dsn', {
  ignoreErrors: [
    /SecurityError/
  ]
}).install();

... but it turns out that ignoreErrors only matches the error message, not a concatenation of type and message, as most users expect.

Relevant code is here. Viewed there, it's kind of obvious.

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

No branches or pull requests

2 participants