Skip to content

Add support for multiple callback listeners #428

Closed

Description

@bnjmnt4n

It would be great if there was support for multiple callback listeners for dataCallback and shouldSendCallback.

My use case is that I want to create a plugin for use on multiple sites which would filter out and not report errors which occurred on older browser versions, while each site in particular might also have its own shouldSendCallback. This is currently not possible to achieve.

Activity

  1. bnjmnt4n commented on Nov 27, 2015

    @bnjmnt4n
    ContributorAuthor

    Ping? Any updates?

  2. benvinegar commented on Dec 31, 2015

    @benvinegar
    Contributor

    @D10 – sorry for the slow reply, we were focused on putting out 2.0.0 at this time and were actively trying to avoid any API changes.

    I agree that this should be possible, but I think it requires an overhaul of how Raven handles events (e.g. replacing the undocumented DOM events API that exists currently).

    Probably something we'll look at in 2016.

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