lib/answersengine/scraper/ruby_finisher_executor.rb in answersengine-0.9.0 vs lib/answersengine/scraper/ruby_finisher_executor.rb in answersengine-0.9.1

- old
+ new

@@ -47,10 +47,16 @@ handle_error(e) if save raise e end puts "=========== Finisher Executed ===========" - save_outputs(outputs) + begin + save_outputs(outputs) + rescue => e + handle_error(e) if save + raise e + end + update_finisher_done_status end proc.call end