This commit is contained in:
Sam 2014-12-07 16:43:26 +11:00
parent 16c2562e57
commit c05203d449

View File

@ -28,7 +28,7 @@ module Jobs
if orig_cooked.present? && cooked.blank?
# TODO suicide if needed, let's gather a few here first
Rails.logger.warn("Cooked post processor if FATAL state, bypassing. You need to urgently restart sidekiq\norig: #{orig_cooked}\nrecooked: #{recooked}\ncooked: #{cooked}\npost id: #{post.id}")
Rails.logger.warn("Cooked post processor in FATAL state, bypassing. You need to urgently restart sidekiq\norig: #{orig_cooked}\nrecooked: #{recooked}\ncooked: #{cooked}\npost id: #{post.id}")
else
post.update_column(:cooked, cp.html)
post.publish_change_to_clients! :revised