Skip to content
Snippets Groups Projects
Commit 328e0d80 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Log if satellite creation failed

parent 5d1044c3
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment