logger active job rails code example
Example: logger active job rails
rescue_from(StandardError) do |e|
Rails.logger.debug "[ActiveJob] [#{self.class}] [#{job_id}] #{e}"
end
rescue_from(StandardError) do |e|
Rails.logger.debug "[ActiveJob] [#{self.class}] [#{job_id}] #{e}"
end