lib/paraduct/parallel_runner.rb in paraduct-0.0.1.beta14 vs lib/paraduct/parallel_runner.rb in paraduct-0.0.1.beta15
- old
+ new
@@ -33,9 +33,14 @@
successful = true
rescue Paraduct::Errors::ProcessError => e
runner.logger.error "exitstatus=#{e.status}, #{e.inspect}"
stdout = e.message
successful = false
+
+ rescue Exception => e
+ runner.logger.error "Unknown error: #{e.inspect}"
+ runner.logger.error e.backtrace.join("\n")
+ successful = false
end
runner.logger.info "[END] params: #{runner.formatted_params}"
test_response.jobs_push(