method

discard

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: LogSubscriber
discard(event) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activejob/lib/active_job/log_subscriber.rb, line 130
    def discard(event)
      job = event.payload[:job]
      ex = event.payload[:error]

      error do
        "Discarded #{job.class} (Job ID: #{job.job_id}) due to a #{ex.class} (#{ex.message})."
      end
    end
Register or log in to add new notes.