Cannot read properties of undefined (in rrweb) #15948
Labels
Package: react
Issues related to the Sentry React SDK
Package: replay
Issues related to the Sentry Replay SDK
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/react
SDK Version
9.10.1
Framework Version
React 18.3.1
Link to Sentry event
N/A
Reproduction Example/SDK Setup
No response
Steps to Reproduce
Hard to reproduce, but it seems to be related to a third-party utility that makes changes to the DOM.
It results in an error in the browser console pointing to a
genAdds
function, which I'm pretty sure is this line.I think adding a check that
n.childNodes
is defined should do the trick:Expected Result
No error in the console
Actual Result
error in the console
The text was updated successfully, but these errors were encountered: