method

discard

rails latest stable - Class: ActiveJob::Logging::LogSubscriber

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v6.0.0) is shown here.

discard(event)
public

No documentation available.

# File activejob/lib/active_job/logging.rb, line 114
        def discard(event)
          job = event.payload[:job]
          ex = event.payload[:error]

          error do
            "Discarded #{job.class} due to a #{ex.class}."
          end
        end