Skip to content

Solution for loading Raven.js in multiple Polymer components #789

Closed

Description

@benvinegar

Via the sentry.io support channel:

Currently I load the main raven js at index.html. Then inside each dom element, I have to include this line at every ready()

ready() {
    Raven.config("my_sentry_dsn").install();
},

This works but I have to include this install call on each of my component. Do you have a better approach?

Activity

  1. kpx-dev commented on Dec 6, 2016

    @kpx-dev

    @benvinegar FYI I figured out this issue, I loaded the install at index.html and all sub-components got the lib loaded now. Thanks!

  2. benvinegar commented on Dec 6, 2016

    @benvinegar
    ContributorAuthor

    Awesome!

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