Skip to content

Only log JSON.parse errors in InteractiveBlockComponent#14606

Merged
arelra merged 1 commit intomainfrom
ravi/only-log-interactive-json-parse-errors
Oct 3, 2025
Merged

Only log JSON.parse errors in InteractiveBlockComponent#14606
arelra merged 1 commit intomainfrom
ravi/only-log-interactive-json-parse-errors

Conversation

@arelra
Copy link
Member

@arelra arelra commented Oct 3, 2025

What does this change?

Articles with Datawrapper embeds are throwing a large number of JSON.parse errors from 'message' events which hit our Sentry quota. Until we have a long term solution we want to log these rather than report to Sentry.

Articles with Datawrapper embeds are throwing a large number of JSON.parse errors. We want to mute these until we can work on a fix.
@github-actions
Copy link

github-actions bot commented Oct 3, 2025

Hello 👋! When you're ready to run Chromatic, please apply the run_chromatic label to this PR.

You will need to reapply the label each time you want to run Chromatic.

Click here to see the Chromatic project.

@arelra arelra added the run_chromatic Runs chromatic when label is applied label Oct 3, 2025
@github-actions github-actions bot removed the run_chromatic Runs chromatic when label is applied label Oct 3, 2025
@arelra arelra merged commit a27156c into main Oct 3, 2025
32 checks passed
@arelra arelra deleted the ravi/only-log-interactive-json-parse-errors branch October 3, 2025 08:34
@gu-prout
Copy link

gu-prout bot commented Oct 3, 2025

Seen on PROD (merged by @arelra 7 minutes and 51 seconds ago) Please check your changes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants