diff options
| author | Camillo Lugaresi | 2013-08-04 20:38:26 -0500 |
|---|---|---|
| committer | Adam Vandenberg | 2013-08-05 14:03:20 -0700 |
| commit | fa3012199120ede702c9103166e1b042ae90912d (patch) | |
| tree | 271b0d502ba45091a98262191a5d985eede61e09 | |
| parent | 91693369f19f3dcbf0d6ebb30746d62dc9c2f596 (diff) | |
| download | homebrew-fa3012199120ede702c9103166e1b042ae90912d.tar.bz2 | |
better debugging of failed formula loading
Closes #21680.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
| -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 |
