yslnewtiku
daiao 5 years ago
parent 29d895c576
commit 01c8d01474

@ -400,7 +400,7 @@ class ApplicationController < ActionController::Base
end end
rescue Exception => e rescue Exception => e
uid_logger("--uri_exec: exception #{e.message}") uid_logger("--uri_exec: exception #{e.message}")
raise Educoder::TipException.new("实训平台繁忙繁忙等级84") raise Educoder::TipException.new(message)
end end
end end

@ -795,7 +795,7 @@ class ShixunsController < ApplicationController
rep_url = Base64.urlsafe_encode64(repo_ip_url @repo_path) rep_url = Base64.urlsafe_encode64(repo_ip_url @repo_path)
uri = "#{cloud_bridge}/bridge/game/openGameInstance" uri = "#{cloud_bridge}/bridge/game/openGameInstance"
params = {tpiID: "#{@myshixun.id}", tpmGitURL: rep_url, tpiRepoName: @myshixun.repo_name.split("/").last} params = {tpiID: "#{@myshixun.id}", tpmGitURL: rep_url, tpiRepoName: @myshixun.repo_name.split("/").last}
interface_post uri, params, 83, "实训云平台繁忙繁忙等级83" interface_post uri, params, 83, "服务器出现问题,请重置环境"
end end
end end
rescue => e rescue => e

Loading…
Cancel
Save