diff options
| author | Jack Nagel | 2013-06-26 13:02:44 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-06-26 13:02:48 -0500 |
| commit | f3ff194cfe307f1d0108a98dee1a8559facc337a (patch) | |
| tree | 9bf0acf19ca7404e1f196a2a6cc997973cab6f6a /Library | |
| parent | 155349666481725d278d83473011b6e431428f25 (diff) | |
| download | homebrew-f3ff194cfe307f1d0108a98dee1a8559facc337a.tar.bz2 | |
Formula.each: note why import failed
Refs #20819.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula.rb | 3 |
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 |
