ext/packaging/tasks/fetch.rake in puppet-2.7.22 vs ext/packaging/tasks/fetch.rake in puppet-2.7.23

- old
+ new

@@ -40,10 +40,9 @@ sh "curl #{flag} #{project_data_url}/#{@build.builder_data_file} > #{tempdir}/project/#{@build.builder_data_file}" sh "curl #{flag} #{team_data_url}/#{@build.builder_data_file} > #{tempdir}/team/#{@build.builder_data_file}" invoke_task("pl:load_extras", tempdir) rm_rf(tempdir) rescue - STDERR.puts "There was an error fetching the builder extras data." - exit 1 + fail "There was an error fetching the builder extras data." end end end