break the build if an error occurs