From 84145a9fff45c30afb627066a866ed6aa44d90df Mon Sep 17 00:00:00 2001 From: nigel007 <609441862@qq.com> Date: Sun, 25 Aug 2019 10:44:21 +0800 Subject: [PATCH] add rails logger --- app/api/mobile/apis/blockchains.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/api/mobile/apis/blockchains.rb b/app/api/mobile/apis/blockchains.rb index 2b1aada42..7a214d6da 100644 --- a/app/api/mobile/apis/blockchains.rb +++ b/app/api/mobile/apis/blockchains.rb @@ -28,6 +28,8 @@ module Mobile # 创建版本库 rs = RepositoriesService.new params_repository = ActiveSupport::HashWithIndifferentAccess.new(identifier: project.name) + Rails.logger.info("!!!!!!!!!!!!!params_repository is: ") + Rails.logger.info(params_repository) status, repository = rs.createNewRepoBlockchain project, params_repository gitlab_address = Redmine::Configuration['gitlab_address'] gitUrl = gitlab_address.to_s+"/"+project.owner.to_s+"/"+ repository.identifier + "."+"git"