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.

DataCloneError when capturing events with raven-js

See original GitHub issue

Do you want to request a feature or report a bug?

bug

(If this is a usage question, please do not post it here—post it on forum.sentry.io instead. If this is not a “feature” or a “bug”, or the phrase “How do I…?” applies, then it’s probably a usage question.)

What is the current behavior?

raven-js throws a DataCloneError on Firefox iOS`

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar.

What is the expected behavior?

raven-js should not throw errors 😃

Which versions of Raven.js, and which browser and OS are affected by this issue? Did this work in previous versions of Raven.js? Are you using the CDN (http://ravenjs.com)? Are you using hosted Sentry or on-premises? If on-premises, which version (e.g. 8.7.0)?

DataCloneError
The object can not be cloned.
./node_modules/raven-js/src/raven.js in this at line 360:0

Seeing this with: Self-hosted sentry version 3.22.1 Firefox iOS 10.6 iOS 11.2.5

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:21 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
uturnrcommented, Oct 18, 2018

I’ve seen the error reported by desktop browsers - Chrome, Edge and Opera on Windows XP through 10. Two of the reports included a referrer: facebook.com. Interestingly, all of the reports list Facebook-owned IP addresses.

1reaction
n-sviridenkocommented, Sep 28, 2018

The problem is still persistent with v4.0.5, however now it’s possible to see the debug backtrace of the initial error which is nice. https://sentry.io/share/issue/44d31cc02817475882cd519056b36558/

Read more comments on GitHub >

github_iconTop Results From Across the Web

Usage — raven-js 3.4.0 documentation - Read the Docs
Most Promise libraries have a global hook for capturing unhandled errors. You will need to manually hook into such an event handler and...
Read more >
Datacloneerror In Firefox When Posting To Web Worker
Generally this data is an error or exception. An issue is a grouping of similar events. The reporting of an event is called...
Read more >
How do I log everything with sentry/raven-js - Stack Overflow
My setup was correct, except for the line: window.onerror = Raven.process. For some reason I couldn't provoke any error to fire the logging...
Read more >
Introduction to events - Learn web development | MDN
Events are actions or occurrences that happen in the system you are ... An alternative form of event propagation is event capture.
Read more >
raven-js | Yarn - Package Manager
3.23.2. NOTE: This release may introduce some new events for the same errors, as we'll provide more information on them now. Your Sentry...
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