diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index fbad5606..55ebb3e7 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1189,7 +1189,7 @@ module ApplicationHelper rescue Exception => e Rails.logger.error("post failed! #{e.message}") # 增加错误栈信息 - e.backtrace.each { |msg| Rails.logger.error(msg) } + e.backtrace.each { |msg| Rails.logger.error("post_backtrace: #{msg}") } raise("实训云平台繁忙(繁忙等级:#{status})") end end