Commit a6ec81c5 authored by Matthias Käppler's avatar Matthias Käppler Committed by Grzegorz Bizon

Enable :import_graceful_failures by default

We tested this with a large import and it's a pretty safe change
parent c1c6092e
...@@ -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