Class: SolidFlow::Jobs::RunExecutionJob

Inherits:
ActiveJob::Base
  • Object
show all
Defined in:
app/jobs/solidflow/jobs/run_execution_job.rb

Instance Method Summary collapse

Instance Method Details

#perform(execution_id) ⇒ Object



14
15
16
17
18
# File 'app/jobs/solidflow/jobs/run_execution_job.rb', line 14

def perform(execution_id)
  SolidFlow::Runner.new.run(execution_id)
rescue Errors::ExecutionNotFound => e
  SolidFlow.logger.warn("SolidFlow execution not found: #{execution_id} (#{e.class}: #{e.message})")
end