diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 0852a1748b..c38e97d185 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -316,7 +316,7 @@ class Formula def determine_active_spec(requested) spec = send(requested) || stable || head - spec || raise(FormulaSpecificationError, "formulae require at least a URL") + spec || raise(FormulaSpecificationError, "#{full_name}: formula requires at least a URL") end def validate_attributes!