dev_forum
jingquan huang 5 years ago
parent 29e334c7f4
commit 5e8cfed6cd

@ -209,10 +209,10 @@ class MyshixunsController < ApplicationController
end end
uid_logger("training_task_status start#4**#{game_id}**** #{Time.now.strftime("%Y-%m-%d %H:%M:%S.%L")}") uid_logger("training_task_status start#4**#{game_id}**** #{Time.now.strftime("%Y-%m-%d %H:%M:%S.%L")}")
sucess_status sucess_status
rescue Exception => e # rescue Exception => e
tip_exception(e.message) # tip_exception(e.message)
uid_logger_error("training_task_status error: #{e}") # uid_logger_error("training_task_status error: #{e}")
raise ActiveRecord::Rollback # raise ActiveRecord::Rollback
end end
end end
end end

Loading…
Cancel
Save