diff options
Diffstat (limited to 'lib/active_job/queue_adapters/inline_adapter.rb')
-rw-r--r-- | lib/active_job/queue_adapters/inline_adapter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/active_job/queue_adapters/inline_adapter.rb b/lib/active_job/queue_adapters/inline_adapter.rb index 4afd4f708e..8a2c7d9d92 100644 --- a/lib/active_job/queue_adapters/inline_adapter.rb +++ b/lib/active_job/queue_adapters/inline_adapter.rb @@ -14,7 +14,7 @@ module ActiveJob sleep(interval) if interval > 0 job.new.perform *Parameters.deserialize(args) rescue => ex - ActiveSupport::Notifications.instrument "perform_error.active_job", adapter: self, job: job, params: args, error: ex + ActiveJob::Base.logger "Error performing #{job}: #{ex.message}" end end end |