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

Improve error handling #8

Merged
merged 1 commit into from
Apr 30, 2020
Merged

Improve error handling #8

merged 1 commit into from
Apr 30, 2020

Conversation

ehmicky
Copy link
Collaborator

@ehmicky ehmicky commented Apr 30, 2020

Throwing errors reports them as plugin internal bugs. However utils.build.failPlugin() can be used to report user errors. This PR fixes this.

@ehmicky ehmicky mentioned this pull request Apr 30, 2020
23 tasks
@swyxio swyxio merged commit 6e69e00 into swyxio:master Apr 30, 2020
@ehmicky ehmicky deleted the chore/error-handling branch April 30, 2020 16:29
@ehmicky
Copy link
Collaborator Author

ehmicky commented Apr 30, 2020

Thanks a lot for merging this @sw-yx! Would it be possible to make a npm release? Thanks!

@swyxio
Copy link
Owner

swyxio commented Apr 30, 2020

thanks, released as netlify-plugin-search-index@0.1.1

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