aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb3
1 files changed, 2 insertions, 1 deletions
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