lib/jflow/activity/worker.rb in jflow-0.2.0 vs lib/jflow/activity/worker.rb in jflow-0.2.5
- old
+ new
@@ -27,14 +27,14 @@
end
end
def process_task(response)
log "Got task #{response.task_token}"
- task = ActivityTask.new(response)
+ task = JFlow::Activity::Task.new(response)
begin
task.run!
rescue => exception
- task.failed!(e)
+ task.failed!(exception)
end
end
def identity
@identity ||= "#{`hostname`.chomp}-#{Thread.current.object_id}"
\ No newline at end of file