Update repository_import_worker.rb

This commit is contained in:
James Lopez 2016-06-01 14:55:14 +00:00 committed by Robert Speicher
parent d9df05e143
commit c9e8acd058

View file

@ -13,7 +13,7 @@ class RepositoryImportWorker
result = Projects::ImportService.new(project, current_user).execute
if result[:status] == :error
project.mark_import_as_failed(Gitlab::UrlSanitizer.sanitize(result[:message]))
project.mark_import_as_failed(result[:message])
return
end