admin管理员组

文章数量:1391943

Have been hitting the ResizeObserver - loop limit exceeded error on my webapp. From ResizeObserver - loop limit exceeded, I know that the error is harmless. But it still logs into my error/exception tracking on Sentry.

I am currently on a plan that only gives me 5k events per month. Due to very high usage of the webapp (several thousand users), the above ResizeObserver error accounts for about 2.5-3k of those errors usually. Which causes my 5k total events per month to deplete before the whole month is plete. Thus, keeping me out of loop for the exceptions towards the latter half of the month.

There isn't really a stack-trace available to point out where exactly the exception is ing from. (refer attached image)

Does anybody know how to handle the exception ResizeObserver - loop limit exceeded ?

PS - My frontend stack includes BackboneJS with a lot of use of jQuery. (and a bunch of other libraries)

Have been hitting the ResizeObserver - loop limit exceeded error on my webapp. From ResizeObserver - loop limit exceeded, I know that the error is harmless. But it still logs into my error/exception tracking on Sentry.

I am currently on a plan that only gives me 5k events per month. Due to very high usage of the webapp (several thousand users), the above ResizeObserver error accounts for about 2.5-3k of those errors usually. Which causes my 5k total events per month to deplete before the whole month is plete. Thus, keeping me out of loop for the exceptions towards the latter half of the month.

There isn't really a stack-trace available to point out where exactly the exception is ing from. (refer attached image)

Does anybody know how to handle the exception ResizeObserver - loop limit exceeded ?

PS - My frontend stack includes BackboneJS with a lot of use of jQuery. (and a bunch of other libraries)

Share Improve this question asked Jan 15, 2021 at 8:24 Karan AsthanaKaran Asthana 3263 silver badges15 bronze badges 1
  • 1 forum.sentry.io/t/resizeobserver-loop-limit-exceeded/8402/5 – Thomas Commented Jan 15, 2021 at 8:29
Add a ment  | 

2 Answers 2

Reset to default 3

I was in the same situation, only Safari browser reports errors, just ignore it.

ignoreErrors: [
  // Ignore Safari browser errors
  'ResizeObserver loop limit exceeded'
],

Not throwing only on Safari (Chrome too), but can be safely ignored.

本文标签: javascriptResizeObserver loop limit exceededstop exceptionStack Overflow