diff --git a/app/services/repositories_service.rb b/app/services/repositories_service.rb index c55cd222a..1f5f59785 100644 --- a/app/services/repositories_service.rb +++ b/app/services/repositories_service.rb @@ -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 # 表示创建成功