add rails logger

This commit is contained in:
nigel007 2019-08-25 10:44:21 +08:00
parent 4bec29371e
commit 84145a9fff
1 changed files with 2 additions and 0 deletions

View File

@ -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"