summaryrefslogtreecommitdiff
path: root/app/services/groups/import_export/export_service.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/groups/import_export/export_service.rb')
-rw-r--r--app/services/groups/import_export/export_service.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/services/groups/import_export/export_service.rb b/app/services/groups/import_export/export_service.rb
index a436aec1b39..ea26ebec20b 100644
--- a/app/services/groups/import_export/export_service.rb
+++ b/app/services/groups/import_export/export_service.rb
@@ -96,7 +96,7 @@ module Groups
def notify_error!
notify_error
- raise Gitlab::ImportExport::Error.new(shared.errors.to_sentence)
+ raise Gitlab::ImportExport::Error, shared.errors.to_sentence
end
def notify_success
@@ -127,4 +127,4 @@ module Groups
end
end
-Groups::ImportExport::ExportService.prepend_if_ee('EE::Groups::ImportExport::ExportService')
+Groups::ImportExport::ExportService.prepend_mod_with('Groups::ImportExport::ExportService')