add debug
This commit is contained in:
parent
4c0c69157a
commit
d7297fd5c1
|
@ -33,6 +33,10 @@ class RepositoriesService
|
|||
Rails.logger.info("!!!!!!!!!!!!!!!!repo.save! success")
|
||||
s = Trustie::Gitlab::Sync.new
|
||||
s.create_project(project, repo)
|
||||
Rails.logger.info("11112222222222333333333333333333")
|
||||
Rails.logger.info(project.gpid)
|
||||
Rails.logger.info(project.gpid.blank?)
|
||||
|
||||
raise "sync failed" if project.gpid.blank?
|
||||
status = 0
|
||||
return status, repo # 表示创建成功
|
||||
|
|
Loading…
Reference in New Issue