aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/exceptions.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/exceptions.rb')
-rw-r--r--Library/Homebrew/exceptions.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb
index 849272610..ad4e600f6 100644
--- a/Library/Homebrew/exceptions.rb
+++ b/Library/Homebrew/exceptions.rb
@@ -235,8 +235,10 @@ class BuildError < RuntimeError
puts "#{formula} was moved to homebrew-boneyard because it has unfixable issues."
puts "Please do not file any issues about this. Sorry!"
else
- puts "If reporting this issue please do so at (not Homebrew/homebrew):"
- puts " https://github.com/#{formula.tap}/issues"
+ if issues_url = formula.tap.issues_url
+ puts "If reporting this issue please do so at (not Homebrew/homebrew):"
+ puts " #{issues_url}"
+ end
end
end
else