diff options
| author | Mike McQuaid | 2013-11-11 18:09:02 +0000 | 
|---|---|---|
| committer | Mike McQuaid | 2013-11-11 18:09:02 +0000 | 
| commit | b1dab5111d25f3c15a01652cd5e2b5d10b0e14c1 (patch) | |
| tree | 327246911c2ba726e84972f414ec46311c6bfd31 /Library/Homebrew/exceptions.rb | |
| parent | a31ae501449f5b9940d660dc80344b5e405400ed (diff) | |
| download | homebrew-b1dab5111d25f3c15a01652cd5e2b5d10b0e14c1.tar.bz2 | |
exceptions: improve tap error message.
Point users to the tap's issue tracker URL.
Diffstat (limited to 'Library/Homebrew/exceptions.rb')
| -rw-r--r-- | Library/Homebrew/exceptions.rb | 5 | 
1 files changed, 4 insertions, 1 deletions
| 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' | 
