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

Raven.isSetup removed in patch version change #1226

Closed
francisdb opened this issue Feb 13, 2018 · 4 comments
Closed

Raven.isSetup removed in patch version change #1226

francisdb opened this issue Feb 13, 2018 · 4 comments

Comments

@francisdb
Copy link

francisdb commented Feb 13, 2018

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

@francisdb francisdb changed the title Raven.isSetup removed in patch version chanhge Raven.isSetup removed in patch version change Feb 13, 2018
@kamilogorek
Copy link
Contributor

😮 sorry about that! We changed build system recently and rollup apparently did something funky. Will release a new version asap! (definitely today!)

@kamilogorek
Copy link
Contributor

It should work now, as I redeployed fixed files on CDN. I'll release 3.22.3 though, as I cannot do the same for npm.

@francisdb
Copy link
Author

yes, new version would be safer

@kamilogorek
Copy link
Contributor

Published as 3.22.3. Thanks for the report!

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