diff options
Diffstat (limited to 'app/services/bulk_imports/relation_export_service.rb')
-rw-r--r-- | app/services/bulk_imports/relation_export_service.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/app/services/bulk_imports/relation_export_service.rb b/app/services/bulk_imports/relation_export_service.rb index 91640496440..6db5ef3e9ec 100644 --- a/app/services/bulk_imports/relation_export_service.rb +++ b/app/services/bulk_imports/relation_export_service.rb @@ -42,8 +42,6 @@ module BulkImports yield export finish_export!(export) - rescue StandardError => e - fail_export!(export, e) end def export_service @@ -87,12 +85,6 @@ module BulkImports export.update!(status_event: 'finish', batched: false, error: nil) end - def fail_export!(export, exception) - Gitlab::ErrorTracking.track_exception(exception, portable_id: portable.id, portable_type: portable.class.name) - - export&.update(status_event: 'fail_op', error: exception.class, batched: false) - end - def exported_filepath File.join(export_path, export_service.exported_filename) end |