最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - ResizeObserver loop limit exceeded - stop exception - Stack Overflow

programmeradmin2浏览0评论

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.

发布评论

评论列表(0)

  1. 暂无评论