Skip to content

Raven.isSetup removed in patch version change #1226

@francisdb

Description

@francisdb

We use this code do include raven in our angular app (only if it was previously set up)

// for Sentry
if (typeof Raven !== 'undefined' && Raven.isSetup()) {
  myDependencies.unshift('ngRaven')
}

we today switched from https://cdn.ravenjs.com/3.22.1/angular/raven.min.js to https://cdn.ravenjs.com/3.22.2/angular/raven.min.js and suddenly this isSetup function is missing:

TypeError: Raven.isSetup is not a function

see also #305

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