去掉抛出异常
This commit is contained in:
parent
a234bdc01b
commit
29acff9dde
|
|
@ -631,7 +631,6 @@ class ShixunsController < ApplicationController
|
|||
if res && res['code'].to_i != 0
|
||||
raise("实训云平台繁忙(繁忙等级:90)")
|
||||
end
|
||||
raise("test")
|
||||
redirect_to shixun_path(new_shixun)
|
||||
rescue Exception => e
|
||||
logger.info("copy shixun failed ##{e.message}")
|
||||
|
|
|
|||
Loading…
Reference in New Issue