Netlify Build Plugins: changes to how errors are handled in `onSuccess` and `onEnd` events

Hello :wave:

Since onSuccess and onEnd events run at the end of the build, we’re making a change to how these events work.

Current: onSuccess and onEnd can fail the build via
Upcoming: onSuccess and onEnd can’t fail the build via A log warning is printed to use instead.

As an alternative plugin authors can still fails builds using other events, for example onPostBuild.

We’re hoping this change will align error handling and reporting for both plugin authors and users.

1 Like