added error message on build fail