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

feat: graceful error handling of invalid svgs #195

Merged
merged 1 commit into from
Jul 15, 2024

Conversation

andreasgangso
Copy link
Contributor

@andreasgangso andreasgangso commented Jul 8, 2024

Currently, if there's any issues with custom svgs there's no hints about which one failed, and the whole collection fails to be added.

This fix makes sure that we log any failures and that the successful icons are added.


Before

image


After

image

@antfu antfu merged commit 27004c7 into nuxt:main Jul 15, 2024
1 check passed
@andreasgangso andreasgangso deleted the feat/error-handling branch July 17, 2024 17:18
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