add loggers

This commit is contained in:
nigel007 2019-08-25 10:59:47 +08:00
parent 5cedd2f832
commit cc4e28f595
1 changed files with 3 additions and 0 deletions

View File

@ -31,8 +31,11 @@ module Mobile
Rails.logger.info("!!!!!!!!!!!!!params_repository is: ")
Rails.logger.info(params_repository)
status, repository = rs.createNewRepoBlockchain project, params_repository
Rails.logger.info("!!!!!!!!!!!!!in line 34 repository identifier is:")
Rails.logger.info(repository.identifier)
gitlab_address = Redmine::Configuration['gitlab_address']
gitUrl = gitlab_address.to_s+"/"+project.owner.to_s+"/"+ repository.identifier + "."+"git"
Rails.logger.info("!!!!!!!!!!!!git url is :" + gitUrl)
gitUrl = Base64.encode64(gitUrl)
if status == 0
bs = BlockchainsService.new