dev_course
daiao 6 years ago
parent d8901891f6
commit 4e47273600

@ -72,7 +72,7 @@ class GamesController < ApplicationController
if res && res['code'].to_i != 0 if res && res['code'].to_i != 0
raise("实训云平台繁忙繁忙等级99") raise("实训云平台繁忙繁忙等级99")
end end
@url = "http://#{service_host}:#{res['port']}}/vnc_lite.html?password=headless" @vnc_url = "http://#{service_host}:#{res['port']}}/vnc_lite.html?password=headless"
rescue Exception => e rescue Exception => e
Rails.logger.error(e.message) Rails.logger.error(e.message)
end end

Loading…
Cancel
Save