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

Why does every log message in the console say raven.js:80 #723

Closed
tachang opened this issue Sep 4, 2016 · 8 comments
Closed

Why does every log message in the console say raven.js:80 #723

tachang opened this issue Sep 4, 2016 · 8 comments

Comments

@tachang
Copy link

tachang commented Sep 4, 2016

After installing raven.js almost every console log message in Chrome says raven.js. This doesn't seem very user friendly since I can't click on the name of the file anymore to see the code.

Am I doing something wrong?

@proclaim
Copy link

proclaim commented Sep 5, 2016

well, that's the same thing to me, I'm using 3.6.1

According to this post: ember-cli-sentry/ember-cli-sentry#48 this is not a new issue. I tried setting Raven.debug = true still the same.

I'm eager to find a solution for this too!

@trueter
Copy link

trueter commented Sep 6, 2016

Found this: #584 (comment)

@benvinegar
Copy link
Contributor

benvinegar commented Sep 6, 2016

As @trueter has discovered, it can be disabled like so:

Raven.config('your dsn', {
  autoBreadcrumbs: {
    console: false
  }
});

This configuration option is further documented here: https://docs.sentry.io/hosted/clients/javascript/config/

I'll add something to the main documentation page to make this more obvious (leaving this issue open for now).

@tachang
Copy link
Author

tachang commented Sep 7, 2016

Cool that does it. The documentation doesn't go much into the whole breadcrumbs thing. Is that the backtrace?

@benvinegar
Copy link
Contributor

Breadcrumbs are "a trail of breadcrumbs" – events that occurred before the event. You can use them to trace back the steps of what occurred on the page: console statements, XHRs, DOM interactions, etc.

@benvinegar
Copy link
Contributor

Closing because the question was addressed.

For future reference, "usage" queries should be asked on our forums: forum.sentry.io.

@Taewa
Copy link

Taewa commented Dec 28, 2018

I am having the same issue but using @sentry/browser instead of Raven.
So far I couldn't find where it is documented. (Also checked interfaces.d.ts file but no luck)
Any idea ?

@Taewa
Copy link

Taewa commented Dec 28, 2018

Just found out the solution

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

5 participants