Added a new event to notify when a build error has happened