From 0d35455820f6f3a38fce298262cf23a236906523 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Wed, 26 Jun 2013 13:02:44 -0500 Subject: Formula.each: note why import failed Refs Homebrew/homebrew#20819. --- Library/Homebrew/formula.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index cec9857f7..27cf1d64a 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -335,9 +335,10 @@ class Formula names.each do |name| begin yield Formula.factory(name) - rescue + rescue StandardError => e # Don't let one broken formula break commands. But do complain. onoe "Failed to import: #{name}" + puts e next end end -- cgit v1.2.3