aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/exceptions.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb
index 5b3081767..8e1b722a2 100644
--- a/Library/Homebrew/exceptions.rb
+++ b/Library/Homebrew/exceptions.rb
@@ -51,10 +51,12 @@ class FormulaUnavailableError < RuntimeError
end
class TapFormulaUnavailableError < FormulaUnavailableError
- attr_reader :tap
+ attr_reader :tap, :user, :repo
def initialize tap, name
@tap = tap
+ @user = tap.user
+ @repo = tap.repo
super "#{tap}/#{name}"
end