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

hotfix: don't fail on invalid font-awesome icons, just report #2614

Merged
merged 1 commit into from
Sep 23, 2024

Conversation

syphar
Copy link
Member

@syphar syphar commented Sep 23, 2024

hotfix for https://rust-lang.sentry.io/issues/5894026542/?environment=production&project=5499376&query=is%3Aunresolved+issue.priority%3A%5Bhigh%2C+medium%5D&referrer=issue-stream&statsPeriod=90d&stream_index=0,

partially reinstating the old behaviour, where we just return an empty string / don't render the icon.

The sentry error will make debugging easier,

I'll probably re-add the hard error with better reporting. Or a design where we have compile-time checks :)

@syphar syphar self-assigned this Sep 23, 2024
@syphar syphar marked this pull request as ready for review September 23, 2024 15:19
@github-actions github-actions bot added the S-waiting-on-review Status: This pull request has been implemented and needs to be reviewed label Sep 23, 2024
@syphar syphar requested a review from a team as a code owner September 23, 2024 15:19
@syphar
Copy link
Member Author

syphar commented Sep 23, 2024

I manually tested the change locally

@GuillaumeGomez
Copy link
Member

Please add a regression test.

@syphar syphar merged commit de1f9e7 into rust-lang:master Sep 23, 2024
11 checks passed
@syphar syphar deleted the less-hard-error branch September 23, 2024 15:23
@github-actions github-actions bot added S-waiting-on-deploy This PR is ready to be merged, but is waiting for an admin to have time to deploy it and removed S-waiting-on-review Status: This pull request has been implemented and needs to be reviewed labels Sep 23, 2024
@syphar syphar removed the S-waiting-on-deploy This PR is ready to be merged, but is waiting for an admin to have time to deploy it label Sep 24, 2024
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