# File 'Library/Homebrew/exceptions.rb', line 375defdumpputsifARGV.verbose?require"system_config"require"build_environment"ohai"Formula"puts"Tap: #{formula.tap}"ifformula.tap?puts"Path: #{formula.path}"ohai"Configuration"SystemConfig.dump_verbose_configohai"ENV"Homebrew.dump_build_env(env)putsonoe"#{formula.full_name}#{formula.version} did not build"unless(logs=Dir["#{formula.logs}/*"]).empty?puts"Logs:"putslogs.map{|fn|"#{fn}"}.join("\n")endendifformula.tap&&defined?(OS::ISSUES_URL)ifformula.tap.official?putsFormatter.error(Formatter.url(OS::ISSUES_URL),label:"READ THIS")elsifissues_url=formula.tap.issues_urlputs<<~EOS If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
#{Formatter.url(issues_url)} EOS
elseputs<<~EOS If reporting this issue please do so to (not Homebrew/brew or Homebrew/core):
#{formula.tap} EOS
endelseputs<<~EOS Do not report this issue to Homebrew/brew or Homebrew/core!
EOS
endputsunlessissues&.empty?puts"These open issues may also help:"putsissues.map{|i|"#{i["title"]}#{i["html_url"]}"}.join("\n")endrequire"diagnostic"checks=Homebrew::Diagnostic::Checks.newchecks.build_error_checks.eachdo|check|out=checks.send(check)nextifout.nil?putsofailoutendend