Skip to content

Commit 63dde91

Browse files
committed
Supposedly this works out of the box now
1 parent 62b5815 commit 63dde91

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

Diff for: app/jobs/application_job.rb

-5
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,4 @@ class ApplicationJob < ActiveJob::Base
22
retry_on ActiveRecord::Deadlocked
33

44
discard_on ActiveJob::DeserializationError, ActiveStorage::IntegrityError
5-
6-
rescue_from(Exception) do |exception|
7-
Appsignal.send_error(exception)
8-
raise exception
9-
end
105
end

Diff for: config/environments/production.rb

-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@
7070
config.cache_store = :redis_cache_store, {url: ENV["CACHE_REDIS_URL"]}
7171

7272
config.active_job.queue_adapter = :solid_queue
73-
config.solid_queue.on_thread_error = ->(error) { Appsignal.send_error(error) }
7473

7574
config.action_mailer.perform_caching = false
7675

0 commit comments

Comments
 (0)