diff options
Diffstat (limited to 'Library/Homebrew/utils/analytics.rb')
| -rw-r--r-- | Library/Homebrew/utils/analytics.rb | 6 | 
1 files changed, 5 insertions, 1 deletions
| diff --git a/Library/Homebrew/utils/analytics.rb b/Library/Homebrew/utils/analytics.rb index 8c69a2980..23000f8dd 100644 --- a/Library/Homebrew/utils/analytics.rb +++ b/Library/Homebrew/utils/analytics.rb @@ -65,7 +65,11 @@ module Utils          return unless exception.formula.tap          return unless exception.formula.tap.installed?          return if exception.formula.tap.private? -        report_event("BuildError", exception.formula.full_name) +        action = exception.formula.full_name +        if (options = exception.options) +          action = "#{action} #{options}".strip +        end +        report_event("BuildError", action)        end      end    end | 
