question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

All console errors show generated from @sentry/browser/esm/integrations/breadcrumbs.js:81

See original GitHub issue

Package + Version

  • [ ^5.6.2] @sentry/browser
  • [^5.6.2 ] @sentry/node
  • raven-js
  • raven-node (raven for node)
  • other:

Description

Chrome dev console shows all output as from @sentry/browser/esm/integrations/breadcrumbs.js:81 - I’m using the @sentry/webpack-plugin but that’s only loaded in production. Curious if this is normal, and if so, how to get the line of code which triggered the log instead.

image

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
jgentescommented, Nov 29, 2019

That did it, thank you for your help!

1reaction
kamilogorekcommented, Nov 29, 2019

@jgentes Breadcrumbs are platform-specific integrations, where ExtraErrorData is generic for any JS plaform, see: https://docs.sentry.io/platforms/javascript/#sdk-integrations vs. https://docs.sentry.io/platforms/javascript/#pluggable-integrations

This means that ExtraErrorData lives inside @sentry/integrations and is correctly required by you in the example above, but Breadcrumbs lives in the SDK itself under Sentry.Integrations.Breadcrumbs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Showing console errors and alerts in a div inside the page
If any code crashes with an uncaught error, in might not show up in the div. One solution could be, if possible, to...
Read more >
Fix JavaScript errors that are reported in the Console
To display two created error messages in the Console: ... Right-click anywhere in the webpage and then select Inspect. Or, press F12 ....
Read more >
Capturing JavaScript Errors - Sentry
The Problem. You have a single page JavaScript application, and unlike your API server, the client-side application doesn't generate error logs.
Read more >
Using Your Browser to Diagnose JavaScript Errors
This guide will show you how to diagnose JavaScript issues in different browsers. Step 1: Try Another Browser. To make sure that this...
Read more >
Where are JavaScript Errors Logged? - Rollbar
Rather than dealing with log files, rotation, permissions, and all the other fun things that come with server-side languages, JavaScript errors ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found