Giter Site home page Giter Site logo

Seeing a spam of ResizeObserver has completed errors and repeated infinite requests to Sentry with the same body about sentry-javascript HOT 5 CLOSED

jumanahxleonardo avatar jumanahxleonardo commented on July 4, 2024
Seeing a spam of ResizeObserver has completed errors and repeated infinite requests to Sentry with the same body

from sentry-javascript.

Comments (5)

jumanahxleonardo avatar jumanahxleonardo commented on July 4, 2024 1

Hey @mydea! The reason I believe it is a bug is because the same error fires off from the Sentry package an unlimited amount of times and you need to close the window/tab to stop the requests from happening. In a few seconds we could see up to 600 requests, and ongoing, no sign of stopping.
I understand hiding it solves the spam of errors we were having, but it seems like it was stuck in a recursion of some sort sending the same error to the Sentry console. And it only happened once I repeatedly clicked on the component very fast.
The ResizeObserver error should settle once the UI has been updated so I am not sure why it was going on and on infinitely.

from sentry-javascript.

mydea avatar mydea commented on July 4, 2024

Hmm, interesting.

No idea where this comes from, but I guess it is an error that is bubbling up to the uncaught exception handler.
I think it makes sense to filter these out by default, I'll look into it - because the errors are really not actionable there.

from sentry-javascript.

mydea avatar mydea commented on July 4, 2024

Actually, disregard my former comment - we have actually already done that! If you update to the latest version of the SDK (8.0.0), this should be filtered SDK-side by default. Could you give that a try?

from sentry-javascript.

jumanahxleonardo avatar jumanahxleonardo commented on July 4, 2024

@mydea Was this a bug in version 7 of the SDK? Is there any explanation for why it was happening?

So I upgraded to the latest version 8.0.0 and this is no longer an issue. Thanks for your help!

from sentry-javascript.

mydea avatar mydea commented on July 4, 2024

So this is not a bug and not related to the SDK - this error is simply being emitted, for whatever reason, and Sentry captures it as any other error. The only thing that changed in v8 is that we added a rule to the SDK to ignore this error by default ;)

Great to hear it worked! 🎉

from sentry-javascript.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.