add logger

This commit is contained in:
nigel007 2019-08-25 10:46:12 +08:00
parent 84145a9fff
commit 9e1124f0e4
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@ class RepositoriesService
status = -1
# 判断版本库创建者是否有同名版本库,避免版本库路径一致问题
unless is_sigle_identifier?(project.user_id, params_repository.first[1]) # first[1]表示identifier
Rails.logger.info("!!!!!!!!!!!!!!!!!!!!!!!is_single_identifier......")
return status, nil
else
attrs = {:attrs => {:identifier => params_repository.first[1]}, :attrs_extra => {}}