diff options
| author | Adam Vandenberg | 2012-08-26 17:08:09 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-08-26 17:08:09 -0700 |
| commit | dfd35db4d178df264e14222be51667f255cd5c81 (patch) | |
| tree | e731a6d6ece607699d37681308010fbe386dd76f /Library/Homebrew/formula.rb | |
| parent | f1d0f7adbb98776910206686027097e889b693f9 (diff) | |
| download | brew-dfd35db4d178df264e14222be51667f255cd5c81.tar.bz2 | |
Formula factory: add comment
Diffstat (limited to 'Library/Homebrew/formula.rb')
| -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 |
