diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 8523102a86..5506c5f663 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -130,7 +130,7 @@ class FormulaAuditor f.deps.each do |dep| begin dep_f = dep.to_formula - rescue + rescue FormulaUnavailableError problem "Can't find dependency #{dep.name.inspect}." end