Sentry-javascript: Why does every log message in the console say raven.js:80

Created on 4 Sep 2016  路  8Comments  路  Source: getsentry/sentry-javascript

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?

Most helpful comment

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).

All 8 comments

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

According to this post: https://github.com/damiencaselli/ember-cli-sentry/issues/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!

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).

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

Breadcrumbs are "a trail of breadcrumbs" 鈥撀爀vents 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.

Closing because the question was addressed.

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

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 ?

Just found out the solution

Was this page helpful?
0 / 5 - 0 ratings