aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2015-03-03 21:11:00 -0500
committerJack Nagel2015-03-03 21:11:00 -0500
commit1c1943f6d08e01299b2b217899d13198bf03803f (patch)
treeb69065a71b88208bf1b16f87a6b32da9acffb5e3
parent3e4eb0c4a313eef08d6acb4ae1e5b9864000bfad (diff)
downloadhomebrew-1c1943f6d08e01299b2b217899d13198bf03803f.tar.bz2
Always output formula information on build errors
-rw-r--r--Library/Homebrew/exceptions.rb8
1 files changed, 3 insertions, 5 deletions
diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb
index bd80098ae..5b5954fe7 100644
--- a/Library/Homebrew/exceptions.rb
+++ b/Library/Homebrew/exceptions.rb
@@ -166,11 +166,9 @@ class BuildError < RuntimeError
require 'cmd/config'
require 'cmd/--env'
- unless formula.core_formula?
- ohai "Formula"
- puts "Tap: #{formula.tap}"
- puts "Path: #{formula.path}"
- end
+ ohai "Formula"
+ puts "Tap: #{formula.tap}" if formula.tap?
+ puts "Path: #{formula.path}"
ohai "Configuration"
Homebrew.dump_verbose_config
ohai "ENV"