romainbessugesmeusy / netlify-plugin-auth0-patch-urls

A Netlify Build plugin that makes Auth0 works with deploy previews
MIT License
7 stars 3 forks source link

Add error handling #15

Open ehmicky opened 4 years ago

ehmicky commented 4 years ago

When management.client.get() fails, it should be handled. At the moment, it is not.

If the error is a user error, it should be reported with utils.buid.failBuild() (documentation here) so that it is reported as such instead of a plugin bug.