Closed
Description
Hey there! Thanks for making Raven and Sentry, they are super awesome, apart from one small issue
We have this bit of code:
if (settings.APP_SENTRY_DSN) {
Raven.config(settings.APP_SENTRY_DSN).install();
Raven.setUserContext({
id:userId,
email:userEmail
});
}
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:
<error>
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 :)
Metadata
Metadata
Assignees
Labels
No labels