app/models/process/naf/runner.rb in naf-1.1.3 vs app/models/process/naf/runner.rb in naf-1.1.4

- old
+ new

@@ -248,11 +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 - logger.error escape_html("Failure during cleaning up of dead child with pid: #{pid}") - logger.error escape_html("#{are.message}") + logger.error "Failure during cleaning up of dead child with pid: #{pid}" + logger.error "#{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