game评测的时候异常打印
This commit is contained in:
parent
2fe2b9a825
commit
f0dcd2a175
|
|
@ -179,10 +179,11 @@ class GamesController < ApplicationController
|
|||
raise("实训云平台繁忙(繁忙等级:86)")
|
||||
end
|
||||
render :json => {:result => "success", :resubmit => resubmit}
|
||||
rescue
|
||||
rescue Exception => e
|
||||
if resubmit.nil?
|
||||
@game.update_attributes!(:status => 0)
|
||||
end
|
||||
logger.error("###################" + e.message)
|
||||
#REDO Jenkins服务异常弹框抛出
|
||||
render :json => {:result => "failed"}
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue