Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught Error with session replay #1229

Closed
rahulkgupta opened this issue Jun 7, 2024 · 2 comments
Closed

Uncaught Error with session replay #1229

rahulkgupta opened this issue Jun 7, 2024 · 2 comments

Comments

@rahulkgupta
Copy link

rahulkgupta commented Jun 7, 2024

sessionrecording.ts:789 Uncaught TypeError: Converting circular structure to JSON
    --> starting at object with constructor 'd'
    |     property 'components' -> object with constructor 'Object'
    |     property 'position' -> object with constructor 'n'
    --- property 'el' closes the circle
    at JSON.stringify (<anonymous>)
    at e.value (sessionrecording.ts:789:27)
    at emit (sessionrecording.ts:683:22)
    at ht (index.js:108:57)
    at le (index.js:138:9)
    at He.e.mutationCb (observer.js:731:19)
    at e.emit (mutation.js:308:18)
    at e.processMutations (mutation.js:107:18)

I think it's happening with const size = JSON.stringify(event).length when trying to record events from aframe framework (https://aframe.io/)

@rahulkgupta
Copy link
Author

more info for recreating in 3DStreet/3dstreet#601

@pauldambra
Copy link
Member

i'm going to close this since it was fixed by not capturing the element with the circular ref

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants