diff options
| author | Camillo Lugaresi | 2013-08-04 20:38:26 -0500 |
|---|---|---|
| committer | Adam Vandenberg | 2013-08-05 14:03:20 -0700 |
| commit | 6a8387ad4aaa06631d19888f2c12cfeb1f2173a5 (patch) | |
| tree | 0b2fddadf2bfe9e9c9f20ef68ee23f14df25052e /Library | |
| parent | 1540b3aadd692c7dddf5f9ef2ad9c2ea7756751f (diff) | |
| download | brew-6a8387ad4aaa06631d19888f2c12cfeb1f2173a5.tar.bz2 | |
better debugging of failed formula loading
Closes Homebrew/homebrew#21680.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formulary.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/formulary.rb b/Library/Homebrew/formulary.rb index 2b2e1d861..c02971f19 100644 --- a/Library/Homebrew/formulary.rb +++ b/Library/Homebrew/formulary.rb @@ -43,6 +43,7 @@ class Formulary # have a "no such formula" message. raise rescue LoadError, NameError + raise if ARGV.debug? # let's see the REAL error raise FormulaUnavailableError.new(name) end end |
