aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2015-03-03 21:11:00 -0500
committerJack Nagel2015-03-03 21:11:00 -0500
commit162716f3fba4981a55d06f1b4ef1524333880fd3 (patch)
tree66344e1c158deb464552391759fdf817e5b2de25 /Library
parentce5d4a3b039f58763c696bc135884b83b5d257af (diff)
downloadbrew-162716f3fba4981a55d06f1b4ef1524333880fd3.tar.bz2
Always output formula information on build errors
Diffstat (limited to 'Library')
-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"