aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-06-26 13:02:44 -0500
committerJack Nagel2013-06-26 13:02:48 -0500
commitf3ff194cfe307f1d0108a98dee1a8559facc337a (patch)
tree9bf0acf19ca7404e1f196a2a6cc997973cab6f6a /Library
parent155349666481725d278d83473011b6e431428f25 (diff)
downloadhomebrew-f3ff194cfe307f1d0108a98dee1a8559facc337a.tar.bz2
Formula.each: note why import failed
Refs #20819.
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