Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Inbound Filters] ChunkLoadError filter for Uncaught Promises stopped working #86619

Open
Fwang36 opened this issue Mar 7, 2025 · 2 comments

Comments

@Fwang36
Copy link
Member

Fwang36 commented Mar 7, 2025

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

This is a continuation of this Github issue where this was fixed.

Looks like maybe when the code was moved over from the relay/config/__init__.py file to the inbound_filters.py (here), the rule broke.

Generally the error messages for these ChunkLoads look like this -

"title": "Error: Uncaught (in promise): ChunkLoadError: Loading chunk 175 failed.",

The exception type is Error and the Uncaught (in promise)... part is the exception value.

It looks like maybe the values section in the chunk load error filter might be looking for an exception type of "*Uncaught *"?.

Should the value look like this instead (basing off the hydration error filter below it)? (None, "*Uncaught *: ChunkLoadError: Loading chunk *")

Expected Result

ChunkLoadErrors filtered out.

Actual Result

ChunkLoadErrors being accepted.

Product Area

Ingestion and Filtering

Link

No response

DSN

No response

Version

No response

@getsantry
Copy link
Contributor

getsantry bot commented Mar 7, 2025

Assigning to @getsentry/support for routing ⏲️

@getsantry
Copy link
Contributor

getsantry bot commented Mar 7, 2025

Routing to @getsentry/product-owners-ingestion-and-filtering for triage ⏲️

@getsantry getsantry bot moved this from Waiting for: Support to Waiting for: Product Owner in GitHub Issues with 👀 3 Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Waiting for: Product Owner
Development

No branches or pull requests

1 participant