打印信息

This commit is contained in:
cxt 2019-07-27 16:49:55 +08:00
parent 6a53d93537
commit 6822aae9c2
2 changed files with 4 additions and 1 deletions

View File

@ -390,7 +390,9 @@ class ProjectsController < ApplicationController
def che_request def che_request
begin begin
send_to_che response = send_to_che
@link_ide = response["links"]["ide"]
Rails.logger.info("#############link_ide: #{link_ide}")
rescue Exception => e rescue Exception => e
raise(e.backtrace.join("\n")) raise(e.backtrace.join("\n"))
end end

View File

@ -0,0 +1 @@
window.location.href = @link_ide