Console Error when using Sentry CDN
See original GitHub issueSentry shared Issue
Might be related to this: https://sentry.io/share/issue/302d5407f79b40128e530f8b704ababd/
Requirements
- Review the documentation: https://docs.sentry.io/
- Search for existing issues: https://github.com/getsentry/sentry-javascript/issues
- Use the latest release: https://github.com/getsentry/sentry-javascript/releases
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:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Released
4.0.5
cc @Hakonwibergh@Hakonwibergh I would go ahead and open an issue in the sentry repo: https://github.com/getsentry/sentry/issues