Formula factory: add comment

This commit is contained in:
Adam Vandenberg 2012-08-26 17:08:09 -07:00
parent f1d0f7adbb
commit dfd35db4d1

View File

@ -410,6 +410,8 @@ class Formula
# have a "no such formula" message.
raise
rescue LoadError, NameError
# Catch NameError so that things that are invalid symbols still get
# a useful error message.
raise FormulaUnavailableError.new(name)
end