diff options
Diffstat (limited to 'lib/gitlab/github_import/importer/lfs_objects_importer.rb')
-rw-r--r-- | lib/gitlab/github_import/importer/lfs_objects_importer.rb | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/gitlab/github_import/importer/lfs_objects_importer.rb b/lib/gitlab/github_import/importer/lfs_objects_importer.rb index 5980b3c2179..c74a7706117 100644 --- a/lib/gitlab/github_import/importer/lfs_objects_importer.rb +++ b/lib/gitlab/github_import/importer/lfs_objects_importer.rb @@ -23,16 +23,13 @@ module Gitlab end def each_object_to_import - lfs_objects = Projects::LfsPointers::LfsImportService.new(project).execute + lfs_objects = Projects::LfsPointers::LfsObjectDownloadListService.new(project).execute lfs_objects.each do |object| yield object end rescue StandardError => e - Gitlab::Import::Logger.error( - message: 'The Lfs import process failed', - error: e.message - ) + error(project.id, e) end end end |