aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/exceptions.rb
diff options
context:
space:
mode:
authorMike McQuaid2017-06-09 14:53:01 +0300
committerMike McQuaid2017-06-09 14:53:01 +0300
commit99c897acadc002d5e3b741f406ca372956c345ea (patch)
treed127b5f9c580b12eb0043e39742a08ffbb9f1b38 /Library/Homebrew/exceptions.rb
parent1ef00aaf6f9945170f6db5a67d9c0e9b359e906a (diff)
downloadbrew-99c897acadc002d5e3b741f406ca372956c345ea.tar.bz2
BuildError: report options to analytics.
Without this it's not easy to make much sense of these failures.
Diffstat (limited to 'Library/Homebrew/exceptions.rb')
-rw-r--r--Library/Homebrew/exceptions.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb
index 488ef7064..a5388c2f4 100644
--- a/Library/Homebrew/exceptions.rb
+++ b/Library/Homebrew/exceptions.rb
@@ -352,6 +352,7 @@ end
class BuildError < RuntimeError
attr_reader :formula, :env
+ attr_accessor :options
def initialize(formula, cmd, args, env)
@formula = formula