diff options
| author | Adam Vandenberg | 2012-08-26 17:08:09 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-08-26 17:08:09 -0700 |
| commit | 9028fdfb0144e236e9856715764c41cff237ab62 (patch) | |
| tree | 1871dc83093ce7e03a2c7bfdb56e25dd282d8b05 /Library | |
| parent | 05970688271d18a2357f48a06de8fa3b9fbf74f2 (diff) | |
| download | homebrew-9028fdfb0144e236e9856715764c41cff237ab62.tar.bz2 | |
Formula factory: add comment
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 2b3305d20..cb6b44eb8 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -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 |
