lib/jflow/activity/worker.rb in jflow-0.4.4 vs lib/jflow/activity/worker.rb in jflow-0.4.5

- old
+ new

@@ -10,10 +10,14 @@ end def start! while should_be_working? log "Polling for task on #{domain} - #{tasklist}" - poll + begin + poll + rescue => e + JFlow.configuration.logger.error e.message + end end log "Thread is marked as exiting, stopping the poll" end \ No newline at end of file