-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 intercepts errors even if not installed #320
Comments
It should be a complete noop if it's not configured. Are you able to reproduce this in a way that I can check it out? |
Hmm, perhaps I'm not understanding properly how to use it then. If I don't want Raven to be doing anything, e.g. on a local environment, what is the proper way to disable it? |
You can call
|
I looked into this a bit earlier today. I haven't been set up a bare minimum test case, but the issue lies in |
Ohhh, I can see how that'd happen. :( I'll come up with something to fix that then. |
@mattrobenolt I'm running in the same problem for the same use case of a local environment. Any progress on this? I agree that Raven should not throw any error when not installed. Thanks for your good work! |
@marcelboettcher Are you using the |
@mattrobenolt no, I don't - should I? |
Hey there! Thanks for making Raven and Sentry, they are super awesome, apart from one small issue
We have this bit of code:
Basically, we don't config and install raven unless there's a DSN. Whether there's a DSN or not is environment-specific, so we don't have one for local environments, for instance.
However, even if it never gets installed, Raven still seems to be intercepting errors, only we can't see the detail now. All we can see is, in the console:
The stacktrace appears to be recursive calls to
captureMessage
, like so:It does look like to me that Raven treats lack of config as an error, rather than allowing the error to just continue being thrown. Is that right?
Looking forward to your response :)
The text was updated successfully, but these errors were encountered: