sentry: ignore Office add-in + ResizeObserver browser noise - #39
Merged
Conversation
The "Object Not Found Matching Id:1, MethodName:update, ParamCount:4"
unhandled rejection in Sentry (HTMLBIN-2) comes from the Microsoft
Office Editor add-in misbehaving in the page context on Windows +
Edge/Chrome — not our code. Filter it via Sentry.init({ ignoreErrors }).
Bundle in the two ResizeObserver messages while we're here; same class
of "browser implementation detail, not our bug" noise every Sentry
project filters eventually.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
🚀 Cloudflare previewURL: https://f2fd0fb6-htmlbin.utkarsh2012.workers.dev Built from commit
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Object Not Found Matching Id:1, MethodName:update, ParamCount:4unhandled rejection (Sentry issue HTMLBIN-2) — it comes from the Microsoft Office Editor browser add-in misbehaving in the page context on Windows + Edge/Chrome, not from htmlbin code.loop limit exceeded,loop completed with undelivered notifications) — benign Chrome implementation detail every Sentry project filters eventually.ignoreErrorsarray passed toSentry.init({...})in the inline/sentry.jsbody atsrc/index.ts:243.Why this is safe
ignoreErrorsis a substring/regex match — it only drops events whosemessagematches these very specific strings, none of which appear anywhere in our own code (grepconfirms zero matches for "Object Not Found Matching Id" or "ResizeObserver loop" insrc/).Test plan
/sentry.jsserves the updated body,Sentry.initcall now includesignoreErrorsPromise.reject(new Error("test"))) and confirm it still reaches Sentry🤖 Generated with Claude Code