summaryrefslogtreecommitdiff
path: root/lib/gitlab/import_export/group/legacy_tree_saver.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/import_export/group/legacy_tree_saver.rb')
-rw-r--r--lib/gitlab/import_export/group/legacy_tree_saver.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/import_export/group/legacy_tree_saver.rb b/lib/gitlab/import_export/group/legacy_tree_saver.rb
index 7ab81c09885..0f74fabeac3 100644
--- a/lib/gitlab/import_export/group/legacy_tree_saver.rb
+++ b/lib/gitlab/import_export/group/legacy_tree_saver.rb
@@ -19,7 +19,7 @@ module Gitlab
tree_saver.save(group_tree, @shared.export_path, ImportExport.group_filename)
true
- rescue => e
+ rescue StandardError => e
@shared.error(e)
false
end
@@ -35,7 +35,7 @@ module Gitlab
end
group_tree
- rescue => e
+ rescue StandardError => e
@shared.error(e)
end