试卷提交失败的报错信息

dev_home
cxt 5 years ago
parent e484c7088d
commit 28f88b258e

@ -601,7 +601,7 @@ class ExercisesController < ApplicationController
end
rescue Exception => e
uid_logger_error(e.message)
tip_exception("试卷提交失败")
tip_exception(e.message)
raise ActiveRecord::Rollback
end
end

Loading…
Cancel
Save