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

fix: warn and do not crash on null plugin #1803

Merged
merged 1 commit into from
Oct 22, 2023

Conversation

SethFalco
Copy link
Member

@SethFalco SethFalco commented Sep 27, 2023

If we received null/undefined/empty plugins, instead of crashing, log a warning and ignore them.

Also updates the error message when a malformed configuration comes in to direct users to the documentation. Later I want to take a page from Vercel's book and made a dedicated page in the docs for various errors, but I will come to this later.

Related

@SethFalco SethFalco merged commit c51dcfa into svg:main Oct 22, 2023
5 checks passed
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.

TypeError: Cannot read properties of undefined (reading 'params')
1 participant