Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/bulk_imports/relation_batch_export_service.rb')
-rw-r--r--app/services/bulk_imports/relation_batch_export_service.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/app/services/bulk_imports/relation_batch_export_service.rb b/app/services/bulk_imports/relation_batch_export_service.rb
index 20795de54f9..3f98d49aa1b 100644
--- a/app/services/bulk_imports/relation_batch_export_service.rb
+++ b/app/services/bulk_imports/relation_batch_export_service.rb
@@ -19,8 +19,6 @@ module BulkImports
upload_compressed_file
finish_batch!
- rescue StandardError => e
- fail_batch!(e)
ensure
FileUtils.remove_entry(export_path)
end
@@ -72,12 +70,6 @@ module BulkImports
batch.update!(status_event: 'finish', objects_count: exported_objects_count, error: nil)
end
- def fail_batch!(exception)
- Gitlab::ErrorTracking.track_exception(exception, portable_id: portable.id, portable_type: portable.class.name)
-
- batch.update!(status_event: 'fail_op', error: exception.message.truncate(255))
- end
-
def exported_filepath
File.join(export_path, exported_filename)
end