diff --git a/Gemfile b/Gemfile index c9b4bb1df..71f1709a4 100644 --- a/Gemfile +++ b/Gemfile @@ -121,8 +121,6 @@ gem 'sidekiq' gem 'secure_headers' -gem 'honeybadger', '~> 3.0' - gem 'codemirror-rails' gem 'riiif', '~> 1.1' diff --git a/Gemfile.lock b/Gemfile.lock index 504c4579d..3536254a0 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -384,7 +384,6 @@ GEM hashdiff (1.0.1) highline (2.0.3) hiredis (0.6.3) - honeybadger (3.3.1) htmlentities (4.3.4) http_logger (0.6.0) httpclient (2.8.3) @@ -1024,7 +1023,6 @@ DEPENDENCIES fcrepo_wrapper (~> 0.4) flipflop (~> 2.3) flutie - honeybadger (~> 3.0) hyrax (~> 2.9, >= 2.9.1) i18n-debug i18n-tasks diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 6b14a5368..7829c4f5e 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -26,8 +26,6 @@ class ApplicationController < ActionController::Base before_action :elevate_single_tenant!, if: :singletenant? skip_after_action :discard_flash_if_xhr - before_action :add_honeybadger_context - rescue_from Apartment::TenantNotFound do raise ActionController::RoutingError, 'Not Found' end @@ -94,10 +92,6 @@ def append_info_to_payload(payload) payload[:account_id] = current_account.cname if current_account end - def add_honeybadger_context - Honeybadger.context(user_email: current_user.email) if current_user - end - def ssl_configured? ActiveRecord::Type::Boolean.new.cast(Settings.ssl_configured) end diff --git a/lib/active_job_tenant.rb b/lib/active_job_tenant.rb index 84101e069..ad99f3b35 100644 --- a/lib/active_job_tenant.rb +++ b/lib/active_job_tenant.rb @@ -11,7 +11,6 @@ module ActiveJobTenant module ClassMethods def deserialize(job_data) - Honeybadger.context(job_data: job_data) super.tap do |job| job.tenant = job_data['tenant'] job.current_account = nil diff --git a/public/500.html b/public/500.html index 25e36f8a0..061abc587 100644 --- a/public/500.html +++ b/public/500.html @@ -61,9 +61,6 @@

We're sorry, but something went wrong.

If you are the application owner check the logs for more information.

- - -