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.

Console Error when using Sentry CDN

See original GitHub issue

Sentry shared Issue

Might be related to this: https://sentry.io/share/issue/302d5407f79b40128e530f8b704ababd/

Requirements

Package + Version

  • @sentry/browser
  • @sentry/node
  • raven-js
  • raven-node (raven for node)
  • other: CDN

Version:

4.0.4

Description

When usinghttps://browser.sentry-cdn.com/4.0.4/bundle.min.js I get error messages in the console.

breadcrumbs.ts:159 TypeError: t.substr is not a function
    at Object.e.truncate (string.js:24)
    at e.<anonymous> (baseclient.js:332)
    at baseclient.js:43
    at Object.next (baseclient.js:24)
    at baseclient.js:18
    at new Promise (<anonymous>)
    at r (baseclient.js:14)
    at e.t.prepareEvent (baseclient.js:310)
    at e.<anonymous> (client.ts:27)
    at bundle.min.js:2
    at Object.next (bundle.min.js:2)
    at bundle.min.js:2
    at new Promise (<anonymous>)
    at o (bundle.min.js:2)
    at e.prepareEvent (client.ts:25)
    at e.<anonymous> (baseclient.js:385)
    at baseclient.js:43
    at Object.next (baseclient.js:24)
    at baseclient.js:18
    at new Promise (<anonymous>)
    at r (baseclient.js:14)
    at e.t.processEvent (baseclient.js:369)
    at e.<anonymous> (baseclient.js:229)
    at baseclient.js:43
    at Object.next (baseclient.js:24)
    at baseclient.js:18
    at new Promise (<anonymous>)
    at r (baseclient.js:14)
    at e.<anonymous> (baseclient.js:226)
    at baseclient.js:43
    at Object.next (baseclient.js:24)
    at baseclient.js:18
    at new Promise (<anonymous>)
    at r (baseclient.js:14)
    at e.t.captureEvent (baseclient.js:220)
    at t.invokeClientAsync (hub.js:96)
    at t.captureEvent (hub.js:232)
    at Array.<anonymous> (globalhandlers.ts:49)
    at c (tracekit.ts:320)
    at s (tracekit.ts:392)
    at HTMLElement.fire (legacy-element-mixin.html:427)
    at HTMLElement.__onError (firebase-common-behavior.html:60)
    at index.esm.js:198
    at yt (index.esm.js:198)
    at t.raise (index.esm.js:198)
    at t.raiseQueuedEventsMatchingPredicate_ (index.esm.js:198)
    at t.raiseEventsForChangedPath (index.esm.js:198)
    at Object.onComplete (index.esm.js:198)
    at index.esm.js:198
    at n.onDataMessage_ (index.esm.js:198)

Application is using Polymer 2 and Firebase and is otherwise reporting errors normally, but this error message keeps appearing. Any ideas?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
HazATcommented, Sep 25, 2018

Released 4.0.5 cc @Hakonwibergh

0reactions
HazATcommented, Sep 26, 2018

@Hakonwibergh I would go ahead and open an issue in the sentry repo: https://github.com/getsentry/sentry/issues

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to report console.error with Sentry? - Stack Overflow
If then someone calls console. error a new event will sent to sentry. Haven't tried to get the stack traces with 'Integrations.
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 >
Troubleshooting for Cordova - Sentry Documentation
When you are using our CDN, ad-blocking or script-blocking extensions may prevent our SDK from being fetched and initialized properly.
Read more >
JavaScript - Docs - Sentry Documentation
The quickest way to get started is to use the CDN hosted version of the JavaScript ... Error in Unresolved Issues with title...
Read more >
[WordPress Sentry] Support
Sentry combo with is_wp_error ... Invalid Sentry Dsn in browser console ... PHP Fatal error: Uncaught Error: Interface 'Stringable' not found.
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