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

remove intl errors from selected context #2520

Merged
merged 1 commit into from
Jan 28, 2025

Conversation

CollinBeczak
Copy link
Collaborator

This pr suppresses intl errors, this is to reduce clutter when investigating more impactful errors. There errors will now only show up in the un-selected context:
Screenshot 2025-01-14 at 2 52 06 PM

@CollinBeczak CollinBeczak marked this pull request as ready for review January 14, 2025 20:57
@CollinBeczak CollinBeczak requested a review from jake-low January 23, 2025 19:59
@CollinBeczak CollinBeczak force-pushed the collin/suppress-intl-errors branch from d23bad1 to 8fc920a Compare January 25, 2025 23:34
Copy link
Contributor

@jake-low jake-low left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable to me. My initial reaction was that I'd rather not suppress errors like this, but after consideration I actually think that we should check for missing translations at build time (npm check-translations or similar) if we want to catch these kinds of errors. You're right that the runtime message gets in the way of more important console errors when developing/debugging.

@CollinBeczak CollinBeczak merged commit 2c9ba7d into main Jan 28, 2025
5 of 6 checks passed
@CollinBeczak CollinBeczak deleted the collin/suppress-intl-errors branch January 28, 2025 18:52
@CollinBeczak CollinBeczak mentioned this pull request Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants