Commit bfad9291 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Merge branch '37057-default-enable-graceful-import' into 'master'

Enable :import_graceful_failures by default

See merge request gitlab-org/gitlab!21245
parents c1c6092e a6ec81c5
...@@ -105,7 +105,7 @@ module Gitlab ...@@ -105,7 +105,7 @@ module Gitlab
save_id_mapping(relation_key, data_hash, relation_object) save_id_mapping(relation_key, data_hash, relation_object)
rescue => e rescue => e
# re-raise if not enabled # re-raise if not enabled
raise e unless Feature.enabled?(:import_graceful_failures, @project.group) raise e unless Feature.enabled?(:import_graceful_failures, @project.group, default_enabled: true)
log_import_failure(relation_key, relation_index, e) log_import_failure(relation_key, relation_index, e)
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment