From 1c1943f6d08e01299b2b217899d13198bf03803f Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 3 Mar 2015 21:11:00 -0500 Subject: Always output formula information on build errors --- Library/Homebrew/exceptions.rb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'Library') 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" -- cgit v1.2.3