step(event)
public

No documentation available.

# File activejob/lib/active_job/structured_event_subscriber.rb, line 197
    def step(event)
      job = event.payload[:job]
      step = event.payload[:step]
      exception = event.payload[:exception_object]
      payload = {
        job_class: job.class.name,
        job_id: job.job_id,
        step: step.name,
        cursor: step.cursor,
        interrupted: event.payload[:interrupted],
        duration: event.duration.round(2),
      }

      if exception
        payload[:exception_class] = exception.class.name
        payload[:exception_message] = exception.message
      end

      emit_event("active_job.step", payload)
    end