Problem/Motivation

Currently, it's only possible to filter JS errors by altering the page attachments and to pass ignoreErrors to $page['#attached']['drupalSettings']['raven'].

Proposed resolution

Make this more user friendly by either documenting how to do this by altering, or by adding an option to the settings form to add ignore rules which will be passed to the ignoreErrors option.

Issue fork raven-3507122

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

dieterholvoet created an issue. See original summary.

mfb’s picture

Component: Code » Documentation

Altering JS configuration is already documented to some extent in the README file, but feel free to make improvements

mfb’s picture

Version: 6.x-dev » 7.x-dev

Move feature request to current dev branch

mfb’s picture

Status: Active » Needs review

This doesn't add support, but does document the existing support

dieterholvoet’s picture

Status: Needs review » Reviewed & tested by the community

Looks good!

mfb’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for the review

re: making it configurable in the UI - this would need a bit more work / contribution from someone. Possibly it could even be two configurations, one for strings and one for regular expressions?

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.

  • mfb committed 492ab704 on 7.x
    Issue #3507122 by mfb, dieterholvoet: Document support for filtering JS...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.