Log if satellite creation failed
This commit is contained in:
parent
5d1044c335
commit
328e0d80ca
|
@ -18,7 +18,13 @@ module Gitlab
|
|||
end
|
||||
|
||||
def create
|
||||
`git clone #{project.url_to_repo} #{path}`
|
||||
create_cmd = "git clone #{project.url_to_repo} #{path}"
|
||||
if system(create_cmd)
|
||||
true
|
||||
else
|
||||
Gitlab::GitLogger.error("Failed to create satellite for #{project.name_with_namespace}")
|
||||
false
|
||||
end
|
||||
end
|
||||
|
||||
def exists?
|
||||
|
|
Loading…
Reference in a new issue