Update repository_import_worker.rb
This commit is contained in:
parent
d9df05e143
commit
c9e8acd058
|
@ -13,7 +13,7 @@ class RepositoryImportWorker
|
||||||
result = Projects::ImportService.new(project, current_user).execute
|
result = Projects::ImportService.new(project, current_user).execute
|
||||||
|
|
||||||
if result[:status] == :error
|
if result[:status] == :error
|
||||||
project.mark_import_as_failed(Gitlab::UrlSanitizer.sanitize(result[:message]))
|
project.mark_import_as_failed(result[:message])
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue