diff options
| author | Mike McQuaid | 2017-06-07 16:34:54 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2017-06-07 16:34:54 +0100 |
| commit | 5367f1b408bf3077044bd8f6aab5a8db7647c493 (patch) | |
| tree | aaf61d7d8e32c9758c7c9e79a20c380dd7ae3769 /Library/Homebrew/brew.rb | |
| parent | cfc40196f22fd07cf62a6f51ee22915485bb4c09 (diff) | |
| download | brew-5367f1b408bf3077044bd8f6aab5a8db7647c493.tar.bz2 | |
analytics: remove unused analytics.
We didn't end up using the `screenview` and `exception` analytics as
much as expected so let's remove them and focus on stuff that's
formula-specific.
Diffstat (limited to 'Library/Homebrew/brew.rb')
| -rw-r--r-- | Library/Homebrew/brew.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Library/Homebrew/brew.rb b/Library/Homebrew/brew.rb index 7222f7e87..22c60f207 100644 --- a/Library/Homebrew/brew.rb +++ b/Library/Homebrew/brew.rb @@ -134,17 +134,15 @@ rescue Interrupt $stderr.puts # seemingly a newline is typical exit 130 rescue BuildError => e - Utils::Analytics.report_exception(e) + Utils::Analytics.report_build_error(e) e.dump exit 1 rescue RuntimeError, SystemCallError => e - Utils::Analytics.report_exception(e) raise if e.message.empty? onoe e $stderr.puts e.backtrace if ARGV.debug? exit 1 rescue MethodDeprecatedError => e - Utils::Analytics.report_exception(e) onoe e if e.issues_url $stderr.puts "If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):" @@ -152,7 +150,6 @@ rescue MethodDeprecatedError => e end exit 1 rescue Exception => e - Utils::Analytics.report_exception(e) onoe e if internal_cmd && defined?(OS::ISSUES_URL) $stderr.puts "#{Tty.bold}Please report this bug:#{Tty.reset}" |
