Skip to content
Snippets Groups Projects
Commit 0d354558 authored by Jack Nagel's avatar Jack Nagel
Browse files

Formula.each: note why import failed

Refs Homebrew/homebrew#20819.
parent c8ae97dd
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment