From 6af4ab44c6259962d3e583ad9b637961d51e512a Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Mon, 11 Nov 2013 18:09:02 +0000 Subject: [PATCH] exceptions: improve tap error message. Point users to the tap's issue tracker URL. --- Library/Homebrew/exceptions.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb index a0c0bf0048..2a808ae3ea 100644 --- a/Library/Homebrew/exceptions.rb +++ b/Library/Homebrew/exceptions.rb @@ -183,7 +183,10 @@ class BuildError < Homebrew::InstallationError puts puts "#{Tty.red}READ THIS#{Tty.reset}: #{Tty.em}#{ISSUES_URL}#{Tty.reset}" if formula.tap? - puts "If reporting this please do so at the #{formula.tap} tap (not mxcl/homebrew)." + user, repo = formula.tap.split '/' + tap_issues_url = "https://github.com/#{user}/homebrew-#{repo}/issues" + puts "If reporting this issue please do so at (not mxcl/homebrew):" + puts " #{tap_issues_url}" end else require 'cmd/--config'