From b1dab5111d25f3c15a01652cd5e2b5d10b0e14c1 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Mon, 11 Nov 2013 18:09:02 +0000 Subject: 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(-) (limited to 'Library/Homebrew/exceptions.rb') diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb index a0c0bf004..2a808ae3e 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' -- cgit v1.2.3