app/models/process/naf/runner.rb in naf-1.1.2 vs app/models/process/naf/runner.rb in naf-1.1.3
- old
+ new
@@ -248,10 +248,11 @@
else
# XXX ERROR no child for returned pid -- this can't happen
logger.warn "child pid: #{pid}, status: #{status.inspect}, not managed by this runner"
end
rescue ActiveRecord::ActiveRecordError => are
- raise
+ logger.error escape_html("Failure during cleaning up of dead child with pid: #{pid}")
+ logger.error escape_html("#{are.message}")
rescue StandardError => e
# XXX just incase a job control failure -- more code here
logger.error "some failure during child clean up"
logger.warn e
end